From 4f054b2b2cdef8a4b41bb04175bc3e8a7ec4e06f Mon Sep 17 00:00:00 2001 From: connor Date: Sat, 23 Mar 2024 07:06:31 +0100 Subject: [PATCH] [cs] added header comment --- .php-cs-fixer.dist.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index fccc2b3f9..12daa81d0 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -23,12 +23,24 @@ ->notPath('unit/config/fixtures/sfFilterConfigHandler/result.php') ; +$headerComment = <<<'EOF' +This file is part of the Symfony1 package. + +(c) Fabien Potencier + +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)