Skip to content

Commit

Permalink
Revert "more tests"
Browse files Browse the repository at this point in the history
This reverts commit 995712c.
  • Loading branch information
clxmstaab authored and staabm committed May 16, 2022
1 parent a5ad765 commit d358ef7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/PHPStan/Analyser/data/non-empty-string-substr-specifying.php
Expand Up @@ -52,16 +52,6 @@ public function nonEmptySubstr(string $s, int $offset, int $length): void
}
assertType('string', $s);

if (substr($s, 10) == 'hallo') {
assertType('non-empty-string', $s);
}
assertType('string', $s);

if (substr($s, -10) == 'hallo') {
assertType('non-empty-string', $s);
}
assertType('string', $s);

$x = (substr($s, 10) === 'hallo');
assertType('string', $s);
var_dump($x);
Expand Down

0 comments on commit d358ef7

Please sign in to comment.