File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed 
tests/PHPStan/Analyser/nsrt Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ public function sayLowercase(string $s): void
1414if  ($ s'' ) {
1515assertType ('lowercase-string&non-empty-string ' , $ s
1616}
17+ if  (''  != $ s
18+ assertType ('lowercase-string&non-empty-string ' , $ s
19+ }
1720assertType ('lowercase-string ' , $ s
1821}
1922
@@ -25,6 +28,9 @@ public function sayUppercase(string $s): void
2528if  ($ s'' ) {
2629assertType ('non-empty-string&uppercase-string ' , $ s
2730}
31+ if  (''  != $ s
32+ assertType ('non-empty-string&uppercase-string ' , $ s
33+ }
2834assertType ('uppercase-string ' , $ s
2935}
3036
@@ -36,6 +42,9 @@ public function sayBoth(string $s): void
3642if  ($ s'' ) {
3743assertType ('lowercase-string&non-empty-string&uppercase-string ' , $ s
3844}
45+ if  (''  != $ s
46+ assertType ('lowercase-string&non-empty-string&uppercase-string ' , $ s
47+ }
3948assertType ('lowercase-string&uppercase-string ' , $ s
4049}
4150}
                         You can’t perform that action at this time. 
           
                  
0 commit comments