\PHPUnit_Framework_Error_Deprecated

Wrapper for PHP deprecated errors.

You can disable deprecated-to-exception conversion by setting

<code>
PHPUnit_Framework_Error_Deprecated::$enabled = false;
</code>

Synopsis

class PHPUnit_Framework_Error_Deprecated extends PHPUnit_Framework_Error {
  • // Inherited members from PHPUnit_Framework_Exception
  • protected array $serializableTrace;
  • // Inherited members from RuntimeException
  • protected  $message;
  • protected  $code;
  • protected  $file;
  • protected  $line;
  • // Inherited members from Exception
  • protected  $message;
  • protected  $code;
  • protected  $file;
  • protected  $line;
  • // Inherited methods from PHPUnit_Framework_Error
  • public void __construct()
}

Hierarchy

Members

protected

  • $code — int
    The exception code
  • $code — int
    The exception code
  • $file — string
    The filename where the exception was created
  • $file — string
    The filename where the exception was created
  • $line — int
    The line where the exception was created
  • $line — int
    The line where the exception was created
  • $message — string
    The exception message
  • $message — string
    The exception message
  • $serializableTrace — array

public

  • $enabled

Methods

Inherited from PHPUnit_Framework_Exception

public

Inherited from RuntimeException

public

Inherited from Exception

public

History