/**
* Copyright (c) 2021 Gansel Rechtsanwälte
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* @see https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config
*/
diff
use Gansel\PhpCsFixer\Config;
+$header = <<<EOF
+Copyright (c) 2021 Gansel Rechtsanwälte
+
+For the full copyright and license information, please view
+the LICENSE file that was distributed with this source code.
+
+@see https://github.com/gansel-rechtsanwaelte/php-cs-fixer-config
+EOF;
-$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php74());
+$config = Config\Factory::fromRuleSet(new Config\RuleSet\Php74($header));
$config->getFinder()->in(__DIR__);
$config->setCacheFile(__DIR__ . '/.build/php-cs-fixer/php_cs.cache');
return $config;