Skip to content

Commit

Permalink
Use PHP CS Fixer: custom fixers v3.11 (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos authored Jun 1, 2022
1 parent 66b353a commit fb049f2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"require": {
"php": "^8.0",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.10.1",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.11.0",
"php-cs-fixer/shim": "^3.8.0"
},
"require-dev": {
Expand Down
1 change: 1 addition & 0 deletions src/Rules/LibraryRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,7 @@ public function getRules(): array
Fixer\PhpdocTypesTrimFixer::name() => true,
Fixer\PhpdocVarAnnotationToAssertFixer::name() => true,
Fixer\PromotedConstructorPropertyFixer::name() => true,
Fixer\ReadonlyPromotedPropertiesFixer::name() => true,
Fixer\SingleSpaceAfterStatementFixer::name() => true,
Fixer\SingleSpaceBeforeStatementFixer::name() => true,
Fixer\StringableInterfaceFixer::name() => true,
Expand Down
1 change: 1 addition & 0 deletions src/Rules/ProjectRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,7 @@ public function getRules(): array
Fixer\PhpdocTypesTrimFixer::name() => true,
Fixer\PhpdocVarAnnotationToAssertFixer::name() => true,
Fixer\PromotedConstructorPropertyFixer::name() => true,
Fixer\ReadonlyPromotedPropertiesFixer::name() => true,
Fixer\SingleSpaceAfterStatementFixer::name() => true,
Fixer\SingleSpaceBeforeStatementFixer::name() => true,
Fixer\StringableInterfaceFixer::name() => true,
Expand Down

0 comments on commit fb049f2

Please sign in to comment.