Skip to content

Commit

Permalink
Update to kubawerlos/php-cs-fixer-custom-fixers 3.6 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
kubawerlos authored Dec 11, 2021
1 parent 94aa678 commit cb17c74
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ jobs:
- uses: actions/cache@v2
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
- run: composer update --no-progress ${{ matrix.composer_flags }}
- run: composer verify
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"require": {
"php": "^8.0",
"friendsofphp/php-cs-fixer": "^3.2.1",
"kubawerlos/php-cs-fixer-custom-fixers": "^3.4.0"
"kubawerlos/php-cs-fixer-custom-fixers": "^3.6.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5.10"
Expand Down
3 changes: 3 additions & 0 deletions src/Rules/LibraryRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,7 @@ public function getRules(): array
Fixer\DataProviderStaticFixer::name() => true,
Fixer\DeclareAfterOpeningTagFixer::name() => true,
Fixer\InternalClassCasingFixer::name() => true,
Fixer\IssetToArrayKeyExistsFixer::name() => true,
Fixer\MultilineCommentOpeningClosingAloneFixer::name() => true,
Fixer\MultilinePromotedPropertiesFixer::name() => true,
Fixer\NoCommentedOutCodeFixer::name() => true,
Expand All @@ -366,6 +367,7 @@ public function getRules(): array
'allow_preventing_trailing_spaces' => true,
],
Fixer\NoUselessCommentFixer::name() => true,
Fixer\NoUselessDirnameCallFixer::name() => true,
Fixer\NoUselessDoctrineRepositoryCommentFixer::name() => true,
Fixer\NoUselessParenthesisFixer::name() => true,
Fixer\NoUselessStrlenFixer::name() => true,
Expand Down Expand Up @@ -397,6 +399,7 @@ public function getRules(): array
Fixer\PhpdocSelfAccessorFixer::name() => true,
Fixer\PhpdocSingleLineVarFixer::name() => true,
Fixer\PhpdocTypesTrimFixer::name() => true,
Fixer\PhpdocVarAnnotationToAssertFixer::name() => true,
Fixer\PromotedConstructorPropertyFixer::name() => true,
Fixer\SingleSpaceAfterStatementFixer::name() => true,
Fixer\SingleSpaceBeforeStatementFixer::name() => true,
Expand Down
3 changes: 3 additions & 0 deletions src/Rules/ProjectRules.php
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ public function getRules(): array
Fixer\DataProviderStaticFixer::name() => true,
Fixer\DeclareAfterOpeningTagFixer::name() => true,
Fixer\InternalClassCasingFixer::name() => true,
Fixer\IssetToArrayKeyExistsFixer::name() => true,
Fixer\MultilineCommentOpeningClosingAloneFixer::name() => true,
Fixer\MultilinePromotedPropertiesFixer::name() => true,
Fixer\NoCommentedOutCodeFixer::name() => true,
Expand All @@ -343,6 +344,7 @@ public function getRules(): array
'allow_preventing_trailing_spaces' => true,
],
Fixer\NoUselessCommentFixer::name() => true,
Fixer\NoUselessDirnameCallFixer::name() => true,
Fixer\NoUselessDoctrineRepositoryCommentFixer::name() => true,
Fixer\NoUselessParenthesisFixer::name() => true,
Fixer\NoUselessStrlenFixer::name() => true,
Expand All @@ -359,6 +361,7 @@ public function getRules(): array
Fixer\PhpdocSelfAccessorFixer::name() => true,
Fixer\PhpdocSingleLineVarFixer::name() => true,
Fixer\PhpdocTypesTrimFixer::name() => true,
Fixer\PhpdocVarAnnotationToAssertFixer::name() => true,
Fixer\PromotedConstructorPropertyFixer::name() => true,
Fixer\SingleSpaceAfterStatementFixer::name() => true,
Fixer\SingleSpaceBeforeStatementFixer::name() => true,
Expand Down

0 comments on commit cb17c74

Please sign in to comment.