Skip to content

Commit

Permalink
Fix: Adjust configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Sep 19, 2023
1 parent bcc10d2 commit 7fdedd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -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([
Expand Down

0 comments on commit 7fdedd8

Please sign in to comment.