mirror of
https://github.com/php/phd.git
synced 2026-03-23 22:52:05 +01:00
Removed E_STRICT references as it's deprecated
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT);
|
||||
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
|
||||
require_once "PEAR/PackageFileManager2.php";
|
||||
|
||||
PEAR::setErrorHandling(PEAR_ERROR_DIE);
|
||||
|
||||
@@ -7,7 +7,6 @@ class ErrorHandler
|
||||
// PHP Triggered Errors
|
||||
E_DEPRECATED => 'E_DEPRECATED ',
|
||||
E_RECOVERABLE_ERROR => 'E_RECOVERABLE_ERROR ',
|
||||
E_STRICT => 'E_STRICT ',
|
||||
E_WARNING => 'E_WARNING ',
|
||||
E_NOTICE => 'E_NOTICE ',
|
||||
|
||||
@@ -50,7 +49,6 @@ class ErrorHandler
|
||||
// PHP triggered errors
|
||||
case E_DEPRECATED:
|
||||
case E_RECOVERABLE_ERROR:
|
||||
case E_STRICT:
|
||||
case E_WARNING:
|
||||
case E_NOTICE:
|
||||
$this->outputHandler->printPhpError($msg, $file, $line, self::ERROR_MAP[$errno]);
|
||||
|
||||
Reference in New Issue
Block a user