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
bool
__invoke(int $errorNumber, string $errorString, string $errorFile, int $errorLine)
No description
true
handleNonTestCaseIssue(int $errorNumber, string $errorString, string $errorFile, int $errorLine)
No description
void
registerForNonTestCaseContext()
No description
void
restoreForNonTestCaseContext()
No description
void
disable()
No description
array
snapshotErrorHandlers()
No description
array
restoreErrorHandlers(bool $inIsolation)
No description
void
void
useDeprecationTriggers(array $deprecationTriggers)
No description
void
void
enterTestCaseContext(string $className, string $methodName)
No description
void
leaveTestCaseContext()
No description
Details
static ErrorHandler
instance()
No description
bool
__invoke(int $errorNumber, string $errorString, string $errorFile, int $errorLine)
No description
true
handleNonTestCaseIssue(int $errorNumber, string $errorString, string $errorFile, int $errorLine)
No description
void
registerForNonTestCaseContext()
No description
void
restoreForNonTestCaseContext()
No description
void
enable(TestCase $test)
No description
void
disable()
No description
array
snapshotErrorHandlers()
No description
array
restoreErrorHandlers(bool $inIsolation)
No description
void
useBaseline(Baseline $baseline)
No description
void
useDeprecationTriggers(array $deprecationTriggers)
No description
void
addIssueTriggerResolver(Resolver $resolver)
No description
void
enterTestCaseContext(string $className, string $methodName)
No description
void
leaveTestCaseContext()
No description