Skip to content

Commit

Permalink
CI: take utils/ into account in class-leak (#5847)
Browse files Browse the repository at this point in the history
* CI: take utils/ into account in class-leak

* fix

* raise min version
  • Loading branch information
staabm committed Apr 29, 2024
1 parent de41aaf commit cc4b63f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,11 @@ jobs:
-
name: 'Active Classes'
run: |
vendor/bin/class-leak check bin config src rules \
vendor/bin/class-leak check bin config src rules utils \
--skip-suffix "Rector" \
--skip-type="Rector\\Utils\\Compiler\\Unprefixer" \
--skip-type="Rector\\NodeTypeResolver\\PHPStan\\Scope\\Contract\\NodeVisitor\\ScopeResolverNodeVisitorInterface" \
--skip-type="Rector\\PhpDocParser\\PhpParser\\SmartPhpParserFactory" \
--skip-type="Rector\\BetterPhpDocParser\\Contract\\BasePhpDocNodeVisitorInterface" \
--skip-type="Rector\\BetterPhpDocParser\\Contract\\PhpDocParser\\PhpDocNodeDecoratorInterface" \
--skip-type="Rector\\BetterPhpDocParser\\ValueObject\\Type\\FullyQualifiedIdentifierTypeNode"
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"symplify/phpstan-rules": "^12.4.5",
"symplify/rule-doc-generator": "^12.1.10",
"symplify/vendor-patches": "^11.2",
"tomasvotruba/class-leak": "0.2.11",
"tomasvotruba/class-leak": "^0.2.13",
"tomasvotruba/cognitive-complexity": "^0.2",
"tomasvotruba/unused-public": "^0.3",
"tracy/tracy": "^2.9"
Expand Down

0 comments on commit cc4b63f

Please sign in to comment.