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
@@ -26,6 +26,10 @@ public function testRule(): void
26
26
'Property IssetRule\FooCoalesce::$string (string) in isset() is not nullable.',
27
27
32,
28
28
],
29
+
[
30
+
'Variable $scalar in isset() always exists and is not nullable.',
31
+
41,
32
+
],
29
33
[
30
34
'Offset \'string\' on array(1, 2, 3) in isset() does not exist.',
31
35
45,
@@ -34,6 +38,10 @@ public function testRule(): void
34
38
'Offset \'string\' on array(array(1), array(2), array(3)) in isset() does not exist.',
35
39
49,
36
40
],
41
+
[
42
+
'Variable $doesNotExist in isset() is never defined.',
43
+
51,
44
+
],
37
45
[
38
46
'Offset \'dim\' on array(\'dim\' => 1, \'dim-null\' => 1|null, \'dim-null-offset\' => array(\'a\' => true|null), \'dim-empty\' => array()) in isset() always exists and is not nullable.',
39
47
67,
@@ -62,6 +70,10 @@ public function testRule(): void
62
70
'Static property IssetRule\FooCoalesce::$staticAlwaysNull (null) in isset() is always null.',
63
71
97,
64
72
],
73
+
[
74
+
'Variable $a in isset() always exists and is always null.',
75
+
111,
76
+
],
65
77
[
66
78
'Property IssetRule\FooCoalesce::$string (string) in isset() is not nullable.',
67
79
116,
@@ -114,4 +126,97 @@ public function testBug4671(): void
0 commit comments