Documentation

ErrorHandlerTest extends TestCase
in package

ErrorHandlerTest.

Tags
author

Robert Schönthal seroscho@googlemail.com

author

Nicolas Grekas p@tchwork.com

Table of Contents

errorHandlerWhenLoggingProvider()  : mixed
testBootstrappingLogger()  : mixed
testConstruct()  : mixed
testCustomExceptionHandler()  : mixed
testDefaultLogger()  : mixed
testErrorGetLast()  : mixed
testErrorHandlerWhenLogging()  : mixed
testErrorStacking()  : mixed
testHandleDeprecation()  : mixed
testHandleError()  : mixed
testHandleErrorException()  : mixed
testHandleException()  : mixed
testHandleFatalError()  : mixed
testHandleFatalErrorOnHHVM()  : mixed
testHandleUserError()  : mixed
testNotice()  : mixed
testRegister()  : mixed
testSettingLoggerWhenExceptionIsBuffered()  : mixed
triggerNotice()  : mixed

Methods

errorHandlerWhenLoggingProvider()

public errorHandlerWhenLoggingProvider() : mixed
Return values
mixed

testBootstrappingLogger()

public testBootstrappingLogger() : mixed
Return values
mixed

testCustomExceptionHandler()

public testCustomExceptionHandler() : mixed
Tags
group

no-hhvm

Return values
mixed

testDefaultLogger()

public testDefaultLogger() : mixed
Return values
mixed

testErrorGetLast()

public testErrorGetLast() : mixed
Return values
mixed

testErrorHandlerWhenLogging()

public testErrorHandlerWhenLogging(mixed $previousHandlerWasDefined, mixed $loggerSetsAnotherHandler, mixed $nextHandlerIsDefined) : mixed
Parameters
$previousHandlerWasDefined : mixed
$loggerSetsAnotherHandler : mixed
$nextHandlerIsDefined : mixed
Tags
dataProvider

errorHandlerWhenLoggingProvider

Return values
mixed

testErrorStacking()

public testErrorStacking() : mixed
Tags
group

legacy

Return values
mixed

testHandleDeprecation()

public testHandleDeprecation() : mixed
Return values
mixed

testHandleError()

public testHandleError() : mixed
Return values
mixed

testHandleErrorException()

public testHandleErrorException() : mixed
Tags
requires

PHP 7

Return values
mixed

testHandleException()

public testHandleException() : mixed
Tags
group

no-hhvm

Return values
mixed

testHandleFatalError()

public testHandleFatalError() : mixed
Tags
group

no-hhvm

Return values
mixed

testHandleFatalErrorOnHHVM()

public testHandleFatalErrorOnHHVM() : mixed
Tags
group

no-hhvm

Return values
mixed

testHandleUserError()

public testHandleUserError() : mixed
Return values
mixed

testSettingLoggerWhenExceptionIsBuffered()

public testSettingLoggerWhenExceptionIsBuffered() : mixed
Tags
group

no-hhvm

Return values
mixed

triggerNotice()

private static triggerNotice(mixed $that) : mixed
Parameters
$that : mixed
Return values
mixed

Search results