ErrorHandler
final class ErrorHandler (View source)
| internal | This class is not covered by the backward compatibility promise for PHPUnit |
Constants
| private UNHANDLEABLE_LEVELS |
|
| private INSUPPRESSIBLE_LEVELS |
|
Methods
static ErrorHandler
instance()
No description
false
__invoke(int $errorNumber, string $errorString, string $errorFile, int $errorLine)
No description
true
deprecationHandler(int $errorNumber, string $errorString, string $errorFile, int $errorLine)
No description
void
registerDeprecationHandler()
No description
void
restoreDeprecationHandler()
No description
void
disable()
No description
void
void
useDeprecationTriggers(array $deprecationTriggers)
No description
void
enterTestCaseContext(string $className, string $methodName)
No description
void
leaveTestCaseContext()
No description
Details
static ErrorHandler
instance()
No description
false
__invoke(int $errorNumber, string $errorString, string $errorFile, int $errorLine)
No description
true
deprecationHandler(int $errorNumber, string $errorString, string $errorFile, int $errorLine)
No description
void
registerDeprecationHandler()
No description
void
restoreDeprecationHandler()
No description
void
enable(TestCase $test)
No description
void
disable()
No description
void
useBaseline(Baseline $baseline)
No description
void
useDeprecationTriggers(array $deprecationTriggers)
No description
void
enterTestCaseContext(string $className, string $methodName)
No description
void
leaveTestCaseContext()
No description