Allow to Assert::isInstanceOf()
to work with generic and anonymous class strings
#404
Annotations
37 errors
Coding Standard
Process completed with exit code 2.
|
PHPStan (8.0, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (8.0, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (8.0, highest)
Process completed with exit code 2.
|
PHPStan (8.1, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (8.1, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (8.1, lowest)
Process completed with exit code 2.
|
PHPStan (7.4, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (7.4, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (7.4, lowest)
Process completed with exit code 2.
|
PHPStan (8.2, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (8.2, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (8.2, lowest)
Process completed with exit code 2.
|
PHPStan (7.4, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (7.4, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (7.4, highest)
Process completed with exit code 2.
|
PHPStan (7.3, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (7.3, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (7.3, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (7.3, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (7.3, highest)
Process completed with exit code 2.
|
PHPStan (7.3, lowest)
Process completed with exit code 2.
|
PHPStan (8.0, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (8.0, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (8.0, lowest)
Process completed with exit code 2.
|
PHPStan (8.1, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (8.1, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (8.1, highest)
Process completed with exit code 2.
|
PHPStan (7.2, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (7.2, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (7.2, highest)
Process completed with exit code 2.
|
PHPStan (8.2, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (8.2, highest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (8.2, highest)
Process completed with exit code 2.
|
PHPStan (7.2, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L413
Anonymous function should return PhpParser\Node\Expr but returns PhpParser\Node\Expr|null.
|
PHPStan (7.2, lowest):
src/Type/WebMozartAssert/AssertTypeSpecifyingExtension.php#L431
Parameter #1 $expr of class PhpParser\Node\Expr\BooleanNot constructor expects PhpParser\Node\Expr, PhpParser\Node\Expr|null given.
|
PHPStan (7.2, lowest)
Process completed with exit code 2.
|