Skip to content

Commit

Permalink
Generate ruleset for friendsofphp/php-cs-fixer 3.5.0 (#126)
Browse files Browse the repository at this point in the history
* Add ECS set for PHP

* Generate ruleset for friendsofphp/php-cs-fixer 3.5.0
  • Loading branch information
zingimmick authored Jan 25, 2022
1 parent e561fa3 commit 6310c4a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"php": "^7.2 || ^8.0",
"rector/rector": "^0.12",
"slevomat/coding-standard": "^7.0",
"symplify/easy-coding-standard": "^10.0"
"symplify/easy-coding-standard": "^10.0.16"
},
"require-dev": {
"phpunit/phpunit": "^7.0 || ^8.0 || ^9.0",
Expand Down
1 change: 1 addition & 0 deletions config/set/php-cs-fixer-custom.php
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@
'goto',
'include',
'include_once',
'phpdoc',
'require',
'require_once',
'return',
Expand Down
1 change: 1 addition & 0 deletions config/set/php-cs-fixer/php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
'goto',
'include',
'include_once',
'phpdoc',
'require',
'require_once',
'return',
Expand Down
1 change: 1 addition & 0 deletions config/set/php-cs-fixer/php80-migration-risky.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
$services->set(\PhpCsFixer\Fixer\Alias\PowToExponentiationFixer::class);
$services->set(\PhpCsFixer\Fixer\FunctionNotation\VoidReturnFixer::class);
$services->set(\PhpCsFixer\Fixer\Strict\DeclareStrictTypesFixer::class);
$services->set(\PhpCsFixer\Fixer\LanguageConstruct\GetClassToClassKeywordFixer::class);
$services->set(\PhpCsFixer\Fixer\FunctionNotation\UseArrowFunctionsFixer::class);
$services->set(\PhpCsFixer\Fixer\Basic\NonPrintableCharacterFixer::class);
$services->set(\PhpCsFixer\Fixer\Alias\RandomApiMigrationFixer::class)
Expand Down

0 comments on commit 6310c4a

Please sign in to comment.