PHPUnit_Framework_Error_Warning
class PHPUnit_Framework_Error_Warning extends PHPUnit_Framework_Error (View source)
Wrapper for PHP warnings.
You can disable notice-to-exception conversion by setting
PHPUnit_Framework_Error_Warning::$enabled = false;
Properties
protected array | $serializableTrace | from PHPUnit_Framework_Exception | |
static | $enabled |
Methods
array
getSerializableTrace()
Returns the serializable trace (without 'args').
Details
__construct($message, $code, string $file, int $line, Exception $previous = null)
Constructor.
array
getSerializableTrace()
Returns the serializable trace (without 'args').