mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 01:02:24 +01:00
Merge pull request #624 from oanhnn/feature/add-header-comment-fixer
Add header comment fixer
This commit is contained in:
commit
cd7ec68920
11
.php_cs
11
.php_cs
@ -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',
|
||||
];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user