Skip to content

Commit ecc834b

Browse files
committed
fix phpstan
1 parent a58b04a commit ecc834b

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

phpstan.neon

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -438,3 +438,29 @@ parameters:
438438
-
439439
identifier: symplify.noMissnamedDocTag
440440
path: rules/TypeDeclarationDocblocks/TypeResolver/ConstantArrayTypeGeneralizer.php
441+
442+
-
443+
identifier: typePerfect.narrowReturnObjectType
444+
path: src/PHPStan/ScopeFetcher.php
445+
446+
-
447+
identifier: varTag.nativeType
448+
path: src/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser.php
449+
450+
-
451+
identifier: argument.type
452+
paths:
453+
- rules/Privatization/TypeManipulator/TypeNormalizer.php
454+
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayMapRector.php
455+
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayMapRector.php
456+
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayReduceRector.php
457+
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayReduceRector.php
458+
- rules/TypeDeclarationDocblocks/Rector/Class_/AddVarArrayDocblockFromDimFetchAssignRector.php
459+
- src/NodeTypeResolver/PHPStan/Type/TypeFactory.php
460+
461+
-
462+
identifier: argument.templateType
463+
paths:
464+
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayMapRector.php
465+
- rules/TypeDeclaration/Rector/FunctionLike/AddClosureParamTypeForArrayReduceRector.php
466+
- src/NodeTypeResolver/PHPStan/Type/TypeFactory.php

0 commit comments

Comments
 (0)