Merge pull request #624 from oanhnn/feature/add-header-comment-fixer

Add header comment fixer
This commit is contained in:
Anton Medvedev 2016-04-14 10:13:24 +07:00
commit cd7ec68920

11
.php_cs
View File

@ -1,9 +1,20 @@
<?php
$header = <<<EOF
(c) Anton Medvedev <anton@medv.io>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;
Symfony\CS\Fixer\Contrib\HeaderCommentFixer::setHeader($header);
$finder = Symfony\CS\Finder\DefaultFinder::create()
->exclude('vendor')
->in(__DIR__);
$fixers = [
'header_comment',
'short_array_syntax',
];