Skip to content

Commit

Permalink
[deprecated] Remove deprecated ChangeAndIfToEarlyReturnRector, Callab…
Browse files Browse the repository at this point in the history
…leThisArrayToAnonymousFunctionRector + casting rules (#6276)

* misc

* remove test case with deprecated rule

* remove deprecated ChangeAndIfToEarlyReturnRector

* remove deprecated CallableThisArrayToAnonymousFunctionRector

* remove unused related node analyser

* remove val to cast deprecated rules

* skip type as used

* avoid slashes
  • Loading branch information
TomasVotruba committed Sep 2, 2024
1 parent a957503 commit 3aa886f
Show file tree
Hide file tree
Showing 63 changed files with 1 addition and 2,339 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/code_analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,7 @@ jobs:
-
name: 'Active Classes'
run: |
vendor/bin/class-leak check bin config src rules utils \
--skip-suffix "Rector" \
--skip-type="Rector\\Utils\\Compiler\\Unprefixer" \
--skip-type="Rector\\PhpDocParser\\PhpParser\\SmartPhpParserFactory"
vendor/bin/class-leak check bin config src rules utils --skip-suffix "Rector" --skip-type="Rector\\Utils\\Compiler\\Unprefixer" --skip-type="Rector\\PhpDocParser\\PhpParser\\SmartPhpParserFactory" --skip-type="Rector\\NodeCollector\\BinaryOpConditionsCollector"
-
name: 'Compatible PHPStan versions'
Expand Down
2 changes: 0 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -270,8 +270,6 @@ parameters:
paths:
# marker interface
- src/Contract/PhpParser/Node/StmtsAwareInterface.php
# designed for extension
#- src/Skipper/Contract/SkipVoterInterface.php

# generated class in /vendor
-
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3aa886f

Please sign in to comment.