-
-
Notifications
You must be signed in to change notification settings - Fork 863
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
68d7334
commit 6e9ecfa
Showing
3 changed files
with
2,778 additions
and
3,083 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,182 +1,12 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Method Rector\\\\BetterPhpDocParser\\\\PhpDocNodeFactory\\\\Doctrine\\\\Property_\\\\DoctrineTargetEntityPhpDocNodeFactory\\:\\:createFromNodeAndTokens\\(\\) should return PHPStan\\\\PhpDocParser\\\\Ast\\\\PhpDoc\\\\PhpDocTagValueNode\\|null but returns object\\.$#" | ||
message: "#^Property PhpParser\\\\Node\\\\Scalar\\\\DNumber\\:\\:\\$value \\(float\\|int\\) does not accept string\\.$#" | ||
count: 1 | ||
path: repo/packages/better-php-doc-parser/src/PhpDocNodeFactory/Doctrine/Property_/DoctrineTargetEntityPhpDocNodeFactory.php | ||
path: repo/rules/DowngradePhp74/Rector/LNumber/DowngradeNumericLiteralSeparatorRector.php | ||
|
||
- | ||
message: "#^Method Rector\\\\BetterPhpDocParser\\\\PhpDocNodeFactory\\\\MultiPhpDocNodeFactory\\:\\:createFromNodeAndTokens\\(\\) should return PHPStan\\\\PhpDocParser\\\\Ast\\\\PhpDoc\\\\PhpDocTagValueNode\\|null but returns object\\.$#" | ||
message: "#^Property PhpParser\\\\Node\\\\Scalar\\\\DNumber\\:\\:\\$value \\(float\\|int\\) does not accept string\\.$#" | ||
count: 1 | ||
path: repo/packages/better-php-doc-parser/src/PhpDocNodeFactory/MultiPhpDocNodeFactory.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, class\\-string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/packages/family-tree/src/NodeAnalyzer/ClassChildAnalyzer.php | ||
|
||
- | ||
message: "#^PHPDoc tag @var above a method has no effect\\.$#" | ||
count: 1 | ||
path: repo/packages/post-rector/src/Collector/PropertyToAddCollector.php | ||
|
||
- | ||
message: "#^Method Rector\\\\StaticTypeMapper\\\\Mapper\\\\ScalarStringToTypeMapper\\:\\:mapScalarStringToType\\(\\) should return PHPStan\\\\Type\\\\Type but returns object\\.$#" | ||
count: 1 | ||
path: repo/packages/static-type-mapper/src/Mapper/ScalarStringToTypeMapper.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, class\\-string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/packages/vendor-locker/src/NodeVendorLocker/ClassMethodVendorLockResolver.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, class\\-string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/packages/vendor-locker/src/NodeVendorLocker/ClassMethodVisibilityVendorLockResolver.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/packages/vendor-locker/src/NodeVendorLocker/ClassMethodVisibilityVendorLockResolver.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, class\\-string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/packages/vendor-locker/src/NodeVendorLocker/PropertyVisibilityVendorLockResolver.php | ||
|
||
- | ||
message: "#^Method Rector\\\\CodeQuality\\\\Rector\\\\Assign\\\\CombinedAssignRector\\:\\:refactor\\(\\) should return PhpParser\\\\Node\\|null but returns object\\.$#" | ||
count: 1 | ||
path: repo/rules/code-quality/src/Rector/Assign/CombinedAssignRector.php | ||
|
||
- | ||
message: "#^Method Rector\\\\CodeQuality\\\\Rector\\\\Identical\\\\SimplifyConditionsRector\\:\\:createInversedBooleanOp\\(\\) should return PhpParser\\\\Node\\\\Expr\\\\BinaryOp\\|null but returns object\\.$#" | ||
count: 1 | ||
path: repo/rules/code-quality/src/Rector/Identical/SimplifyConditionsRector.php | ||
|
||
- | ||
message: "#^Property PhpParser\\\\Node\\\\Stmt\\\\Return_\\:\\:\\$expr \\(PhpParser\\\\Node\\\\Expr\\|null\\) does not accept object\\.$#" | ||
count: 1 | ||
path: repo/rules/code-quality/src/Rector/Return_/SimplifyUselessVariableRector.php | ||
|
||
- | ||
message: "#^Method Rector\\\\CodeQuality\\\\Rector\\\\Ternary\\\\UnnecessaryTernaryExpressionRector\\:\\:refactor\\(\\) should return PhpParser\\\\Node\\|null but returns object\\.$#" | ||
count: 1 | ||
path: repo/rules/code-quality/src/Rector/Ternary/UnnecessaryTernaryExpressionRector.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/rules/dead-code/src/UnusedNodeResolver/ClassUnusedPrivateClassMethodResolver.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, class\\-string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/rules/dead-code/src/UnusedNodeResolver/ClassUnusedPrivateClassMethodResolver.php | ||
|
||
- | ||
message: "#^Method Rector\\\\Privatization\\\\Rector\\\\Property\\\\PrivatizeFinalClassPropertyRector\\:\\:getParentClasses\\(\\) should return array\\<class\\-string\\> but returns array\\<string, class\\-string\\>\\|false\\.$#" | ||
count: 1 | ||
path: repo/rules/privatization/src/Rector/Property/PrivatizeFinalClassPropertyRector.php | ||
|
||
- | ||
message: "#^Method Rector\\\\Privatization\\\\VisibilityGuard\\\\ClassMethodVisibilityGuard\\:\\:getParentClasses\\(\\) should return array\\<class\\-string\\> but returns array\\<string, class\\-string\\>\\|false\\.$#" | ||
count: 1 | ||
path: repo/rules/privatization/src/VisibilityGuard/ClassMethodVisibilityGuard.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$haystack of function in_array expects array, array\\<string, string\\>\\|false given\\.$#" | ||
count: 1 | ||
path: repo/rules/restoration/src/Rector/Class_/RemoveUselessJustForSakeInterfaceRector.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 2 | ||
path: repo/rules/solid/src/Rector/ClassMethod/UseInterfaceOverImplementationInConstructorRector.php | ||
|
||
- | ||
message: "#^Cannot access offset mixed on \\(array\\<string, string\\>&nonEmpty\\)\\|false\\.$#" | ||
count: 1 | ||
path: repo/rules/solid/src/Rector/ClassMethod/UseInterfaceOverImplementationInConstructorRector.php | ||
|
||
- | ||
message: "#^Parameter \\#1 \\$input of function array_values expects array, array\\<string, string\\>\\|false given\\.$#" | ||
count: 1 | ||
path: repo/rules/solid/src/Rector/ClassMethod/UseInterfaceOverImplementationInConstructorRector.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$haystack of function in_array expects array, array\\<string, string\\>\\|false given\\.$#" | ||
count: 1 | ||
path: repo/rules/solid/src/Rector/ClassMethod/UseInterfaceOverImplementationInConstructorRector.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/rules/symfony/src/ValueObject/ServiceMap/ServiceMap.php | ||
|
||
- | ||
message: "#^Method Rector\\\\Core\\\\Exception\\\\ShouldNotHappenException\\:\\:__construct\\(\\) has parameter \\$code with no typehint specified\\.$#" | ||
count: 1 | ||
path: repo/src/Exception/ShouldNotHappenException.php | ||
|
||
- | ||
message: "#^Method Rector\\\\Core\\\\Exception\\\\ShouldNotHappenException\\:\\:__construct\\(\\) has parameter \\$message with no typehint specified\\.$#" | ||
count: 1 | ||
path: repo/src/Exception/ShouldNotHappenException.php | ||
|
||
- | ||
message: "#^Method Rector\\\\Core\\\\PhpParser\\\\Node\\\\Manipulator\\\\BinaryOpManipulator\\:\\:inverseBinaryOp\\(\\) should return PhpParser\\\\Node\\\\Expr\\\\BinaryOp\\|null but returns object\\.$#" | ||
count: 1 | ||
path: repo/src/PhpParser/Node/Manipulator/BinaryOpManipulator.php | ||
|
||
- | ||
message: "#^Method Rector\\\\Core\\\\PhpParser\\\\Node\\\\Manipulator\\\\BinaryOpManipulator\\:\\:invertCondition\\(\\) should return PhpParser\\\\Node\\\\Expr\\\\BinaryOp\\|null but returns object\\.$#" | ||
count: 1 | ||
path: repo/src/PhpParser/Node/Manipulator/BinaryOpManipulator.php | ||
|
||
- | ||
message: "#^Method Rector\\\\Core\\\\PhpParser\\\\Node\\\\Manipulator\\\\BinaryOpManipulator\\:\\:inverseNode\\(\\) should return PhpParser\\\\Node but returns object\\.$#" | ||
count: 1 | ||
path: repo/src/PhpParser/Node/Manipulator/BinaryOpManipulator.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, class\\-string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/src/PhpParser/Node/Manipulator/ClassDependencyManipulator.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/src/PhpParser/Node/Manipulator/ClassManipulator.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/src/PhpParser/Node/Manipulator/ClassMethodManipulator.php | ||
|
||
- | ||
message: "#^Argument of an invalid type array\\<string, class\\-string\\>\\|false supplied for foreach, only iterables are supported\\.$#" | ||
count: 1 | ||
path: repo/src/PhpParser/Node/Manipulator/ClassMethodManipulator.php | ||
|
||
- | ||
message: "#^Cannot call method getMethod\\(\\) on PhpParser\\\\Node\\\\Stmt\\\\Class_\\|null\\.$#" | ||
count: 1 | ||
path: repo/src/Rector/AbstractRector.php | ||
|
||
- | ||
message: "#^Cannot call method getMethod\\(\\) on PhpParser\\\\Node\\\\Stmt\\\\Class_\\|null\\.$#" | ||
count: 1 | ||
path: repo/packages/file-system-rector/src/Rector/AbstractFileSystemRector.php | ||
|
||
- | ||
message: "#^Method Rector\\\\Core\\\\Testing\\\\PHPUnit\\\\RunnableRectorFactory\\:\\:createRunnableClass\\(\\) should return Rector\\\\Core\\\\Testing\\\\Contract\\\\RunnableInterface but returns object\\.$#" | ||
count: 1 | ||
path: repo/src/Testing/PHPUnit/RunnableRectorFactory.php | ||
|
||
- | ||
message: "#^Call to an undefined method PhpParser\\\\Node\\\\Expr\\|PhpParser\\\\Node\\\\Name\\:\\:toString\\(\\)\\.$#" | ||
count: 1 | ||
path: repo/utils/phpstan-extensions/src/ReturnTypeExtension/NodeFinder/FindFirstInstanceOfReturnTypeExtension.php | ||
path: repo/rules/Php74/Rector/LNumber/AddLiteralSeparatorToNumberRector.php | ||
|
Oops, something went wrong.