Skip to content

Commit 2e60dc9

Browse files
committed
[phpstan] remove copuel fixed phpstan ignores
1 parent 25db9f0 commit 2e60dc9

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

phpstan.neon

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,6 @@ parameters:
167167
# future node class exists check
168168
- src/Reporting/DeprecatedRulesReporter.php
169169

170-
# use of internal phpstan classes
171-
-
172-
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#'
173-
path: src/NodeTypeResolver/Reflection/BetterReflection/SourceLocatorProvider/DynamicSourceLocatorProvider.php
174-
175170
-
176171
message: '#@\\ini_set\(.*\)" is forbidden to use#'
177172
path: bin/rector.php
@@ -248,7 +243,6 @@ parameters:
248243
paths:
249244
- src/CustomRules/SimpleNodeDumper.php
250245
- src/PhpDocParser/PhpDocParser/PhpDocNodeTraverser.php
251-
- src/PhpParser/Printer/BetterStandardPrinter.php
252246

253247
# known node variables
254248
-
@@ -290,7 +284,6 @@ parameters:
290284
-
291285
paths:
292286
- src/Configuration/RectorConfigBuilder.php
293-
- src/Reporting/DeprecatedRulesReporter.php
294287
identifier: classConstant.deprecatedInterface
295288

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

324-
-
325-
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#'
326-
path: src/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser.php
327-
328317
- '#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#'
329318

330319
# node vs stmts mix
@@ -444,10 +433,6 @@ parameters:
444433
identifier: symplify.noMissnamedDocTag
445434
path: rules/TypeDeclarationDocblocks/TypeResolver/ConstantArrayTypeGeneralizer.php
446435

447-
-
448-
identifier: typePerfect.narrowReturnObjectType
449-
path: src/PHPStan/ScopeFetcher.php
450-
451436
-
452437
identifier: varTag.nativeType
453438
path: src/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser.php
@@ -457,8 +442,6 @@ parameters:
457442
paths:
458443
- rules/Privatization/TypeManipulator/TypeNormalizer.php
459444
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayMapRector.php
460-
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayMapRector.php
461-
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayReduceRector.php
462445
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayReduceRector.php
463446
- rules/TypeDeclarationDocblocks/Rector/Class_/AddVarArrayDocblockFromDimFetchAssignRector.php
464447
- src/NodeTypeResolver/PHPStan/Type/TypeFactory.php
@@ -468,15 +451,6 @@ parameters:
468451
paths:
469452
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayMapRector.php
470453
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayReduceRector.php
471-
- src/NodeTypeResolver/PHPStan/Type/TypeFactory.php
472-
473-
-
474-
message: '#Parameter \#1 \$value of static method Webmozart\\Assert\\Assert\:\:isInstanceOfAny\(\) expects object, PhpParser\\Node\\ComplexType\|PhpParser\\Node\\Identifier\|PhpParser\\Node\\Name\|null given#'
475-
path: rules/DeadCode/Rector/FunctionLike/NarrowWideUnionReturnTypeRector.php
476-
477-
-
478-
message: '#Unable to resolve the template type T in call to static method Webmozart\\Assert\\Assert\:\:isInstanceOfAny\(\)#'
479-
path: rules/DeadCode/Rector/FunctionLike/NarrowWideUnionReturnTypeRector.php
480454

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

0 commit comments

Comments
 (0)