Skip to content

Commit

Permalink
Merge pull request #233 from nicmart/dependabot/composer/ergebnis/php…
Browse files Browse the repository at this point in the history
…-cs-fixer-config-6.13.0

composer(deps-dev): bump ergebnis/php-cs-fixer-config from 5.9.2 to 6.13.0
  • Loading branch information
localheinz committed Dec 2, 2023
2 parents d475f7f + 43cebd8 commit 4b2d48f
Show file tree
Hide file tree
Showing 4 changed files with 173 additions and 262 deletions.
14 changes: 9 additions & 5 deletions .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@

$license->save();

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

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

$config->getFinder()
->ignoreDotFiles(false)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"require-dev": {
"ergebnis/composer-normalize": "^2.31.0",
"ergebnis/license": "^2.4.0",
"ergebnis/php-cs-fixer-config": "^5.9.2",
"ergebnis/php-cs-fixer-config": "^6.13.0",
"fakerphp/faker": "^1.23.0",
"infection/infection": "~0.26.19",
"phpunit/phpunit": "^9.6.14",
Expand Down
Loading

0 comments on commit 4b2d48f

Please sign in to comment.