NewWithBracesFixer - fix creating instances inside arrays (GH-426)
ShortTagFixerTest - correct test case to be a php code
FixCommand - override config dir only if path is set
Tests for TrailingSpacesFixer
Tests for EndOfFileLineFeedFixer
bug #427 [bugfix #426] NewWithBracesFixer - fix creating instances inside arrays. (keradus)

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

Discussion
----------

[bugfix #426] NewWithBracesFixer - fix creating instances inside arrays.

NewWithBracesFixer - fix creating instances inside arrays (#426).

Also add () just after classname, not before expression end:
`new Foo ;` => `new Foo() ;` instead of `new Foo ();`

If merged please bump at least patch version, it seems to be an important fix

Commits
-------

53f1bc1 NewWithBracesFixer - fix creating instances inside arrays (GH-426)
minor #429 ShortTagFixerTest - correct test case to be a php code. (keradus)

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

Discussion
----------

ShortTagFixerTest - correct test case to be a php code.

ShortTagFixerTest - correct test case to be a php code.

Commits
-------

965d96d ShortTagFixerTest - correct test case to be a php code
bug #430 FixCommand - override config dir only if path is set (keradus)

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

Discussion
----------

FixCommand - override config dir only if path is set

Hey!

Let imagine that I have a project structure:
```
- root
    - A
    - B
    - C
```

In root dir I have a .php_cs file:
```php
<?php

$config = Symfony\CS\Config\Config::create();
$config->setDir([__DIR__ . "/A", __DIR__ . "/C", ]);

return $config;
```

So I just want to fix A i C subdirs and leave alone B subdir. And I want to do it in config file.
It is a simple case just to show my problem, I known that I could exclude B subdir, but I have a little to include and a lot to exclude in one project :(

OK, let run the fixer:
`php-cs-fixer fix` (without path, because I defined it in config file)
? Is it work? No! FixCommand will call again ->setDir method (see: https://github.com/fabpot/PHP-CS-Fixer/blob/master/Symfony/CS/Console/Command/FixCommand.php#L226) with null argument and fixer will crash with msg: `You must call one of in() or append() methods before iterating over a Finder`

Conclusion
Let the fix command override `$config->dir` only if `path` argument was set.

Commits
-------

2ec7994 FixCommand - override config dir only if path is set
minor #431 Tests for TrailingSpacesFixer. (keradus)

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

Discussion
----------

Tests for TrailingSpacesFixer.

Tests for TrailingSpacesFixer.

Commits
-------

571f22c Tests for TrailingSpacesFixer
minor #432 Tests for EndOfFileLineFeedFixer. (keradus)

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

Discussion
----------

Tests for EndOfFileLineFeedFixer.

Tests for EndOfFileLineFeedFixer.

Commits
-------

1da152d Tests for EndOfFileLineFeedFixer