CS fixes in tests
Tokens::fromCode - fix using cache
minor #532 CS fixes in tests (keradus)

This PR was merged into the 1.0.x-dev branch.

Discussion
----------

CS fixes in tests

Commits
-------

f2f4b7d CS fixes in tests
bug #533 Tokens::fromCode - fix using cache (keradus)

This PR was merged into the 1.0.x-dev branch.

Discussion
----------

Tokens::fromCode - fix using cache

Commits
-------

13cc240 Tokens::fromCode - fix using cache
Trait use statements should not be mixed with imports
improve OrderUseStatementsFixer parsing logic

- Sort only the actual namespaces and not complete lines
- Use correct sorting when using multiple namespace blocks
- Detect traits correctly
- Preserve original white space