-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace PHPUnit\Framework; | ||
|
||
abstract class Assert | ||
{ | ||
/** | ||
* @phpstan-assert list $array | ||
* | ||
* @throws ExpectationFailedException | ||
*/ | ||
final public static function assertIsList(mixed $array, string $message = ''): void {} | ||
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (7.4, lowest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (7.4, highest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (8.0, lowest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (8.0, highest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (8.1, lowest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (8.1, highest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (8.2, lowest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (8.2, highest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (8.3, lowest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (8.3, highest)
Check failure on line 12 in stubs/Assert.stub GitHub Actions / PHPStan (8.4, lowest)
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace PHPUnit\Framework; | ||
|
||
class AssertionFailedError extends \Exception | ||
{ | ||
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace PHPUnit\Framework; | ||
|
||
final class ExpectationFailedException extends AssertionFailedError | ||
{ | ||
|
||
} |