Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 0 additions & 26 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,6 @@ parameters:
# future node class exists check
- src/Reporting/DeprecatedRulesReporter.php

# use of internal phpstan classes
-
message: '#Creating new PHPStan\\Reflection\\BetterReflection\\SourceLocator\\Optimized(.*?)SourceLocator is not covered by backward compatibility promise\. The class might change in a minor PHPStan version#'
path: src/NodeTypeResolver/Reflection/BetterReflection/SourceLocatorProvider/DynamicSourceLocatorProvider.php

-
message: '#@\\ini_set\(.*\)" is forbidden to use#'
path: bin/rector.php
Expand Down Expand Up @@ -248,7 +243,6 @@ parameters:
paths:
- src/CustomRules/SimpleNodeDumper.php
- src/PhpDocParser/PhpDocParser/PhpDocNodeTraverser.php
- src/PhpParser/Printer/BetterStandardPrinter.php

# known node variables
-
Expand Down Expand Up @@ -290,7 +284,6 @@ parameters:
-
paths:
- src/Configuration/RectorConfigBuilder.php
- src/Reporting/DeprecatedRulesReporter.php
identifier: classConstant.deprecatedInterface

# allowed internally only
Expand Down Expand Up @@ -321,10 +314,6 @@ parameters:
message: '#PHPDoc tag @var with type array<string, int> is not subtype of native type array<int<1, max>>#'
path: rules/Naming/PhpArray/ArrayFilter.php

-
message: '#PHPDoc tag @var with type int is not subtype of native type array\|PHPStan\\PhpDocParser\\Ast\\ConstExpr\\ConstExprNode\|Rector\\BetterPhpDocParser\\PhpDoc\\DoctrineAnnotationTagValueNode\|Rector\\BetterPhpDocParser\\PhpDoc\\StringNode\|Rector\\BetterPhpDocParser\\ValueObject\\PhpDoc\\DoctrineAnnotation\\CurlyListNode\|string#'
path: src/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser.php

- '#Parameter \#1 \$phpVersion of method Rector\\Config\\RectorConfig\:\:phpVersion\(\) expects 50200\|50300\|50400\|50500\|50600\|70000\|70100\|70200\|70300\|70400\|80000\|80100\|80200\|80300\|80400\|80500\|80600\|100000, 79999 given#'

# node vs stmts mix
Expand Down Expand Up @@ -444,10 +433,6 @@ parameters:
identifier: symplify.noMissnamedDocTag
path: rules/TypeDeclarationDocblocks/TypeResolver/ConstantArrayTypeGeneralizer.php

-
identifier: typePerfect.narrowReturnObjectType
path: src/PHPStan/ScopeFetcher.php

-
identifier: varTag.nativeType
path: src/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser.php
Expand All @@ -457,8 +442,6 @@ parameters:
paths:
- rules/Privatization/TypeManipulator/TypeNormalizer.php
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayMapRector.php
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayMapRector.php
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayReduceRector.php
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayReduceRector.php
- rules/TypeDeclarationDocblocks/Rector/Class_/AddVarArrayDocblockFromDimFetchAssignRector.php
- src/NodeTypeResolver/PHPStan/Type/TypeFactory.php
Expand All @@ -468,15 +451,6 @@ parameters:
paths:
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayMapRector.php
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayReduceRector.php
- src/NodeTypeResolver/PHPStan/Type/TypeFactory.php

-
message: '#Parameter \#1 \$value of static method Webmozart\\Assert\\Assert\:\:isInstanceOfAny\(\) expects object, PhpParser\\Node\\ComplexType\|PhpParser\\Node\\Identifier\|PhpParser\\Node\\Name\|null given#'
path: rules/DeadCode/Rector/FunctionLike/NarrowWideUnionReturnTypeRector.php

-
message: '#Unable to resolve the template type T in call to static method Webmozart\\Assert\\Assert\:\:isInstanceOfAny\(\)#'
path: rules/DeadCode/Rector/FunctionLike/NarrowWideUnionReturnTypeRector.php

- '#Provide more specific return type "Iterator|PhpParser\\Node" over abstract one#'

Expand Down
Loading