@@ -65,7 +65,7 @@ parameters:
65
65
path : src/Analyser/NodeScopeResolver.php
66
66
67
67
-
68
- 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\\ .$#"
68
+ 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\\ .$#"
69
69
count : 1
70
70
path : src/Analyser/NodeScopeResolver.php
71
71
@@ -296,7 +296,7 @@ parameters:
296
296
path : src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.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 : 1
301
301
path : src/Reflection/BetterReflection/SourceLocator/AutoloadSourceLocator.php
302
302
@@ -306,17 +306,17 @@ parameters:
306
306
path : src/Reflection/BetterReflection/SourceLocator/FileReadTrapStreamWrapper.php
307
307
308
308
-
309
- 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\\ .$#"
309
+ 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\\ .$#"
310
310
count : 1
311
311
path : src/Reflection/BetterReflection/SourceLocator/NewOptimizedDirectorySourceLocator.php
312
312
313
313
-
314
- 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\\ .$#"
314
+ 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\\ .$#"
315
315
count : 1
316
316
path : src/Reflection/BetterReflection/SourceLocator/OptimizedDirectorySourceLocator.php
317
317
318
318
-
319
- 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\\ .$#"
319
+ 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\\ .$#"
320
320
count : 2
321
321
path : src/Reflection/BetterReflection/SourceLocator/OptimizedSingleFileSourceLocator.php
322
322
@@ -1779,11 +1779,6 @@ parameters:
1779
1779
count : 1
1780
1780
path : tests/PHPStan/Rules/Arrays/AppendedArrayKeyTypeRuleTest.php
1781
1781
1782
- -
1783
- 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\\ .$#"
1784
- count : 1
1785
- path : tests/PHPStan/Type/IterableTypeTest.php
1786
-
1787
1782
-
1788
1783
message : """
1789
1784
#^Instantiation of deprecated class PHPStan\\\\Rules\\\\Arrays\\\\EmptyArrayItemRule\\:
@@ -1799,3 +1794,8 @@ parameters:
1799
1794
"""
1800
1795
count : 1
1801
1796
path : tests/PHPStan/Rules/Arrays/EmptyArrayItemRuleTest.php
1797
+
1798
+ -
1799
+ 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\\ .$#"
1800
+ count : 1
1801
+ path : tests/PHPStan/Type/IterableTypeTest.php
0 commit comments