Skip to content

Commit

Permalink
Merge pull request #328 from ergebnis/dependabot/composer/ergebnis/ph…
Browse files Browse the repository at this point in the history
…p-cs-fixer-config-6.0.0

composer(deps-dev): Bump ergebnis/php-cs-fixer-config from 5.16.0 to 6.0.0
  • Loading branch information
localheinz authored Sep 19, 2023
2 parents 5df0764 + 46df279 commit 86bfb7b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 15 deletions.
10 changes: 7 additions & 3 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,13 @@

$license->save();

$config = PhpCsFixer\Config\Factory::fromRuleSet(new PhpCsFixer\Config\RuleSet\Php81($license->header()), [
'mb_str_functions' => false,
]);
$ruleSet = PhpCsFixer\Config\RuleSet\Php81::create()
->withHeader($license->header())
->withRules(PhpCsFixer\Config\Rules::fromArray([
'mb_str_functions' => false,
]));

$config = PhpCsFixer\Config\Factory::fromRuleSet($ruleSet);

$config->getFinder()
->exclude([
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ergebnis/composer-normalize": "^2.37.0",
"ergebnis/data-provider": "^3.0.0",
"ergebnis/license": "^2.2.0",
"ergebnis/php-cs-fixer-config": "^5.16.0",
"ergebnis/php-cs-fixer-config": "^6.0.0",
"fakerphp/faker": "^1.23.0",
"psalm/plugin-phpunit": "~0.18.4",
"rector/rector": "~0.18.3",
Expand Down
22 changes: 11 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 86bfb7b

Please sign in to comment.