Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubmisek committed May 22, 2023
1 parent cadd6b4 commit 37f54c7
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Tests/Peachpie.DiagnosticTests/tests/4087_false_null_check.php
@@ -0,0 +1,13 @@
<?php

class X {
// https://github.com/peachpiecompiler/peachpie/issues/1111#issuecomment-1537665747
// nette\schema\src\Schema\Expect.php 89
public static function is(mixed $value) {
return true;
}
}

X::is(null);

echo "ok";

0 comments on commit 37f54c7

Please sign in to comment.