From 7fdedd8d3b49fde0f7f16d4eaa5ed1551b4690d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Tue, 19 Sep 2023 09:57:58 +0200 Subject: [PATCH] Fix: Adjust configuration --- .php-cs-fixer.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 989da320..3733d164 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -26,7 +26,9 @@ $license->save(); -$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php81($license->header())); +$ruleSet = PhpCsFixer\Config\RuleSet\Php81::create()->withHeader($license->header()); + +$config = PhpCsFixer\Config\Factory::fromRuleSet($ruleSet); $config->getFinder() ->exclude([