@@ -70,7 +70,7 @@ parameters:
70
70
path : src/Analyser/NodeScopeResolver.php
71
71
72
72
-
73
- message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike given\\ .$#"
73
+ message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Expression \\ |PhpParser \\\\ Node \\\\ Stmt \\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike given\\ .$#"
74
74
count : 1
75
75
path : src/Analyser/NodeScopeResolver.php
76
76
@@ -276,7 +276,7 @@ parameters:
276
276
path : src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php
277
277
278
278
-
279
- message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike given\\ .$#"
279
+ message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Expression \\ |PhpParser \\\\ Node \\\\ Stmt \\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike given\\ .$#"
280
280
count : 1
281
281
path : src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php
282
282
@@ -286,17 +286,17 @@ parameters:
286
286
path : src/Reflection/BetterReflection/SourceLocator/FileReadTrapStreamWrapper.php
287
287
288
288
-
289
- message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Function_ given\\ .$#"
289
+ message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Expression \\ |PhpParser \\\\ Node \\\\ Stmt \\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Function_ given\\ .$#"
290
290
count : 1
291
291
path : src/Reflection/BetterReflection/SourceLocator/NewOptimizedDirectorySourceLocator.php
292
292
293
293
-
294
- message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Function_ given\\ .$#"
294
+ message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Expression \\ |PhpParser \\\\ Node \\\\ Stmt \\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Function_ given\\ .$#"
295
295
count : 1
296
296
path : src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php
297
297
298
298
-
299
- message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike given\\ .$#"
299
+ message : " #^Parameter \\ #2 \\ $node of method PHPStan\\\\ BetterReflection\\\\ SourceLocator\\\\ Ast\\\\ Strategy\\\\ NodeToReflection\\ :\\ :__invoke\\ (\\ ) expects PhpParser\\\\ Node\\\\ Expr\\\\ ArrowFunction\\ |PhpParser\\\\ Node\\\\ Expr\\\\ Closure\\ |PhpParser\\\\ Node\\\\ Expr\\\\ FuncCall\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Class_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Const_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Enum_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Expression \\ |PhpParser \\\\ Node \\\\ Stmt \\\\ Function_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Interface_\\ |PhpParser\\\\ Node\\\\ Stmt\\\\ Trait_, PhpParser\\\\ Node\\\\ Stmt\\\\ ClassLike given\\ .$#"
300
300
count : 2
301
301
path : src/Reflection/BetterReflection/SourceLocator/OptimizedSingleFileSourceLocator.php
302
302
@@ -1799,43 +1799,6 @@ parameters:
1799
1799
count : 1
1800
1800
path : tests/PHPStan/Rules/Arrays/AppendedArrayKeyTypeRuleTest.php
1801
1801
1802
- -
1803
- message : """
1804
- #^Instantiation of deprecated class PHPStan\\\\Rules\\\\DeadCode\\\\NoopRule\\:
1805
- Replaced by PHPStan\\\\Rules\\\\DeadCode\\\\BetterNoopRule$#
1806
- """
1807
- count : 1
1808
- path : tests/PHPStan/Rules/DeadCode/NoopRuleTest.php
1809
-
1810
- -
1811
- message : """
1812
- #^Return type of method PHPStan\\\\Rules\\\\DeadCode\\\\NoopRuleTest\\:\\:getRule\\(\\) has typehint with deprecated class PHPStan\\\\Rules\\\\DeadCode\\\\NoopRule\\:
1813
- Replaced by PHPStan\\\\Rules\\\\DeadCode\\\\BetterNoopRule$#
1814
- """
1815
- count : 1
1816
- path : tests/PHPStan/Rules/DeadCode/NoopRuleTest.php
1817
-
1818
- -
1819
- message : """
1820
- #^Instantiation of deprecated class PHPStan\\\\Rules\\\\Functions\\\\ImplodeFunctionRule\\:
1821
- Replaced by PHPStan\\\\Rules\\\\Functions\\\\ImplodeParameterCastableToStringRuleTest$#
1822
- """
1823
- count : 1
1824
- path : tests/PHPStan/Rules/Functions/ImplodeFunctionRuleTest.php
1825
-
1826
- -
1827
- message : """
1828
- #^Return type of method PHPStan\\\\Rules\\\\Functions\\\\ImplodeFunctionRuleTest\\:\\:getRule\\(\\) has typehint with deprecated class PHPStan\\\\Rules\\\\Functions\\\\ImplodeFunctionRule\\:
1829
- Replaced by PHPStan\\\\Rules\\\\Functions\\\\ImplodeParameterCastableToStringRuleTest$#
1830
- """
1831
- count : 1
1832
- path : tests/PHPStan/Rules/Functions/ImplodeFunctionRuleTest.php
1833
-
1834
- -
1835
- message : " #^PHPDoc tag @var assumes the expression with type PHPStan\\\\ Type\\\\ Generic\\\\ TemplateType is always PHPStan\\\\ Type\\\\ Generic\\\\ TemplateMixedType but it's error\\ -prone and dangerous\\ .$#"
1836
- count : 1
1837
- path : tests/PHPStan/Type/IterableTypeTest.php
1838
-
1839
1802
-
1840
1803
message : """
1841
1804
#^Instantiation of deprecated class PHPStan\\\\Rules\\\\Arrays\\\\EmptyArrayItemRule\\:
@@ -1851,3 +1814,8 @@ parameters:
1851
1814
"""
1852
1815
count : 1
1853
1816
path : tests/PHPStan/Rules/Arrays/EmptyArrayItemRuleTest.php
1817
+
1818
+ -
1819
+ message : " #^PHPDoc tag @var assumes the expression with type PHPStan\\\\ Type\\\\ Generic\\\\ TemplateType is always PHPStan\\\\ Type\\\\ Generic\\\\ TemplateMixedType but it's error\\ -prone and dangerous\\ .$#"
1820
+ count : 1
1821
+ path : tests/PHPStan/Type/IterableTypeTest.php
0 commit comments