Merge pull request #585 from kukulich/extensions3

Move AssertionError to right extension
This commit is contained in:
Kirill Smelov 2019-05-22 12:07:58 +03:00 committed by GitHub
commit 4162683706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 9 deletions

View File

@ -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.

View File

@ -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