Skip to content

Commit baebf25

Browse files
committed
remove duplicated test
1 parent fc857b8 commit baebf25

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/PHPStan/Analyser/nsrt/strlen-int-range.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,6 @@ function doFooBar(string $s, array $arr, int $oneOrMore, int $twoOrMore): void
127127
assertType('non-empty-array', $arr);
128128
}
129129

130-
if (strlen($s) == $oneOrMore) {
131-
assertType('non-empty-string', $s);
132-
}
133-
if (strlen($s) === $oneOrMore) {
134-
assertType('non-empty-string', $s);
135-
}
136-
137130
if (strlen($s) == $twoOrMore) {
138131
assertType('non-falsy-string', $s);
139132
}

0 commit comments

Comments
 (0)