Skip to content

Commit

Permalink
[cs] added header comment
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Mar 27, 2024
1 parent 8b68ee8 commit 4f054b2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,24 @@
->notPath('unit/config/fixtures/sfFilterConfigHandler/result.php')
;

$headerComment = <<<'EOF'
This file is part of the Symfony1 package.
(c) Fabien Potencier <[email protected]>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
EOF;

$config = new PhpCsFixer\Config();
$config
->setRules([
'@PhpCsFixer' => true,
'@Symfony' => true,
'array_syntax' => ['syntax' => 'short'],
// 'header_comment' => [
// 'header' => $headerComment,
// ],
])
->setCacheFile('.cache/php-cs-fixer.cache')
->setFinder($finder)
Expand Down

0 comments on commit 4f054b2

Please sign in to comment.