MultilineArrayTrailingCommaFixer - fix bug that adds comma for empty multiline array
bug #537 MultilineArrayTrailingCommaFixer - fix bug that adds comma for empty multiline array (keradus)

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

Discussion
----------

MultilineArrayTrailingCommaFixer - fix bug that adds comma for empty multiline array

MultilineArrayTrailingCommaFixer - fix bug that adds comma for empty multiline array.

Clone of PR #534 but squashed manually.

Commits
-------

0daed37 MultilineArrayTrailingCommaFixer - fix bug that adds comma for empty multiline array
BracesFixer
feature #472 BracesFixer (keradus)

This PR was squashed before being merged into the 1.0.x-dev branch (closes #472).

Discussion
----------

BracesFixer

Braces for structure blocks, fix #98

- [x] add missing braces
- [x] correct single-level intend
- [X] correct multi-level intend
- [X] fix `T_FOR` token syntax
- [X] ignore T_END* syntax
- [X] make Travis pass
- [X] fix #168 -> fixed in PR #488
- [X] fix #374
- [X] remove new line between `}` and T_ELSE, E_ELSEIF, T_CATCH
- [X] detect duplicated functionality in CurlyBracketsNewlineFixer
- [X] detect duplicated functionality in ControlSpacesFixer

Commits
-------

5f3a1fd BracesFixer
change ALL_LEVEL to SYMFONY_LEVEL
minor #535 change ALL_LEVEL to SYMFONY_LEVEL (keradus)

This PR was squashed before being merged into the 1.0.x-dev branch (closes #535).

Discussion
----------

change ALL_LEVEL to SYMFONY_LEVEL

Resolve #464

Commits
-------

a05f4c9 change ALL_LEVEL to SYMFONY_LEVEL
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