[PSR-2] Preserve blank line after control structure opening brace
bug #895 [PSR-2] Preserve blank line after control structure opening brace (marcaube)

This PR was squashed before being merged into the 1.4 branch (closes #895).

Discussion
----------

[PSR-2] Preserve blank line after control structure opening brace

See #890

Commits
-------

b5a0273 [PSR-2] Preserve blank line after control structure opening brace
Fixed broken NoEmptyLinesAfterPhpdocsFixer
bug #903 NoEmptyLinesAfterPhpdocsFixer - fix bug with Windows style lines (GrahamCampbell)

This PR was submitted for the 1.5 branch but it was merged into the 1.4 branch instead (closes #903).

Discussion
----------

NoEmptyLinesAfterPhpdocsFixer - fix bug with Windows style lines

Very sorry for implementing this wrong the first time. :/

Commits
-------

667a5a8 Fixed broken NoEmptyLinesAfterPhpdocsFixer
BracesFixerTest - no \n line in \r\n test
minor #909 BracesFixerTest - no \n line in \r\n test (keradus)

This PR was merged into the 1.4 branch.

Discussion
----------

BracesFixerTest - no \n line in \r\n test

Commits
-------

516ea29 BracesFixerTest - no \n line in \r\n test
BracesFixer - fix invalide inserting brace for control structure without brace and lambda inside of it
bug #908 BracesFixer - fix invalide inserting brace for control structure without brace and lambda inside of it (keradus)

This PR was merged into the 1.4 branch.

Discussion
----------

BracesFixer - fix invalide inserting brace for control structure without brace and lambda inside of it

BracesFixer - fix invalide inserting brace for control structure without brace and lambda inside of it.
Resolves #888

Commits
-------

30af14c BracesFixer - fix invalide inserting brace for control structure without brace and lambda inside of it
Merge branch '1.4' into 1.5
Merge branch '1.5'
clean up Transformer tests
minor #917 clean up Transformer tests (keradus)

This PR was squashed before being merged into the 2.0-dev branch (closes #917).

Discussion
----------

clean up Transformer tests

- removed unused code
- move common code into abstract base

Commits
-------

4854bc1 clean up Transformer tests
All Transformer classes should be named with Transformer as suffix
minor #914 All Transformer classes should be named with Transformer as suffix (keradus)

This PR was merged into the 2.0-dev branch.

Discussion
----------

All Transformer classes should be named with Transformer as suffix

To maintain consistency with Fixers and avoid problems with `use` transformer (can't call class Use (reserved word), must be UseTransformer)

Commits
-------

c004484 All Transformer classes should be named with Transformer as suffix
remove Token::$line
minor #911 remove Token::$line (keradus)

This PR was merged into the 2.0-dev branch.

Discussion
----------

remove Token::$line

Remove Token::$line due to:
- we don't use it anywhere;
- non-array tokens like ; doesn't have line property set, only array tokens like T_IF have
- when adding new token we don't set line property
- when changing new lines we don't update line of following tokens.

Coming from #907 issue

Commits
-------

7519f6a remove Token::$line
CurlyBraceTransformer - one transformer to handle all curly braces transformations
minor #919 CurlyBraceTransformer - one transformer to handle all curly braces transformations (keradus)

This PR was squashed before being merged into the 2.0-dev branch (closes #919).

Discussion
----------

CurlyBraceTransformer - one transformer to handle all curly braces transformations

CurlyBraceTransformer - one transformer to handle all curly braces transformations

Commits
-------

23daef3 CurlyBraceTransformer - one transformer to handle all curly braces transformations