Skip to content

Commit cb10a42

Browse files
committed
Add 'header_comment' rule
1 parent 28e254f commit cb10a42

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.php-cs-fixer.dist.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,21 @@
44
exit(0);
55
}
66

7+
$fileHeaderComment = <<<'EOF'
8+
This file is part of the Symfony package.
9+
10+
(c) Fabien Potencier <[email protected]>
11+
12+
For the full copyright and license information, please view the LICENSE
13+
file that was distributed with this source code.
14+
EOF;
15+
716
return (new PhpCsFixer\Config())
817
->setRules([
918
'@PHPUnit75Migration:risky' => true,
1019
'@Symfony' => true,
1120
'@Symfony:risky' => true,
21+
'header_comment' => ['header' => $fileHeaderComment],
1222
])
1323
->setRiskyAllowed(true)
1424
->setFinder(

0 commit comments

Comments
 (0)