Merge pull request #585 from kukulich/extensions3
Move AssertionError to right extension
This commit is contained in:
commit
4162683706
|
@ -482,15 +482,6 @@ class ParseError extends CompileError {
|
|||
|
||||
}
|
||||
|
||||
/**
|
||||
* AssertionError is thrown when an assertion made via {@see assert()} fails.
|
||||
* @link https://php.net/manual/en/class.assertionerror.php
|
||||
* @since 7.0
|
||||
*/
|
||||
class AssertionError extends Error {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* ArgumentCountError is thrown when too few arguments are passed to a user
|
||||
* defined routine.
|
||||
|
|
|
@ -809,6 +809,15 @@ function key_exists($key, $search) { }
|
|||
*/
|
||||
function assert($assertion, $description = '') { }
|
||||
|
||||
/**
|
||||
* AssertionError is thrown when an assertion made via {@see assert()} fails.
|
||||
* @link https://php.net/manual/en/class.assertionerror.php
|
||||
* @since 7.0
|
||||
*/
|
||||
class AssertionError extends Error {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Set/get the various assert flags
|
||||
* @link https://php.net/manual/en/function.assert-options.php
|
||||
|
|
Loading…
Reference in New Issue