You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/phpstan/configs/phpstan-bugs.neon
+25-1Lines changed: 25 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,37 @@ parameters:
13
13
path:../../../src/tag/IntArrayTag.php
14
14
15
15
-
16
-
message:'#^Property pocketmine\\nbt\\tag\\ListTag\:\:\$value \(list\<pocketmine\\nbt\\tag\\Tag\>\) does not accept non\-empty\-array\<int\<0, max\>, pocketmine\\nbt\\tag\\Tag\>\.$#'
16
+
message:'#^Property pocketmine\\nbt\\tag\\ListTag\<TValue of pocketmine\\nbt\\tag\\Tag \= pocketmine\\nbt\\tag\\Tag\>\:\:\$value \(list\<TValue of pocketmine\\nbt\\tag\\Tag \= pocketmine\\nbt\\tag\\Tag\>\) does not accept non\-empty\-array\<int\<0, max\>, \(TNewValue of TValue of pocketmine\\nbt\\tag\\Tag \= pocketmine\\nbt\\tag\\Tag\)\|TValue of pocketmine\\nbt\\tag\\Tag \= pocketmine\\nbt\\tag\\Tag\>\.$#'
17
17
identifier:assign.propertyType
18
18
count:1
19
19
path:../../../src/tag/ListTag.php
20
20
21
+
-
22
+
message:'#^Property pocketmine\\nbt\\tag\\ListTag\<TValue of pocketmine\\nbt\\tag\\Tag \= pocketmine\\nbt\\tag\\Tag\>\:\:\$value \(list\<TValue of pocketmine\\nbt\\tag\\Tag \= pocketmine\\nbt\\tag\\Tag\>\) does not accept non\-empty\-list\<\(TNewValue of TValue of pocketmine\\nbt\\tag\\Tag \= pocketmine\\nbt\\tag\\Tag\)\|TValue of pocketmine\\nbt\\tag\\Tag \= pocketmine\\nbt\\tag\\Tag\>\.$#'
23
+
identifier:assign.propertyType
24
+
count:3
25
+
path:../../../src/tag/ListTag.php
26
+
21
27
-
22
28
message:'#^Call to function is_string\(\) with string will always evaluate to true\.$#'
23
29
identifier:function.alreadyNarrowedType
24
30
count:1
25
31
path:../../phpunit/tag/CompoundTagTest.php
32
+
33
+
-
34
+
message:'#^Call to static method PHPUnit\\Framework\\Assert\:\:assertNotSame\(\) with \*NEVER\* and pocketmine\\nbt\\tag\\Tag will always evaluate to true\.$#'
35
+
identifier:staticMethod.alreadyNarrowedType
36
+
count:1
37
+
path:../../phpunit/tag/ListTagTest.php
38
+
39
+
-
40
+
message:'#^Call to static method PHPUnit\\Framework\\Assert\:\:assertSame\(\) with \*NEVER\* and pocketmine\\nbt\\tag\\Tag will always evaluate to false\.$#'
41
+
identifier:staticMethod.impossibleType
42
+
count:1
43
+
path:../../phpunit/tag/ListTagTest.php
44
+
45
+
-
46
+
message:'#^Instanceof between \*NEVER\* and pocketmine\\nbt\\tag\\ImmutableTag will always evaluate to false\.$#'
0 commit comments