1
0
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:
philip
2025-03-04 08:32:37 -08:00
parent 3c00a1a753
commit 0b690001ae
2 changed files with 1 additions and 3 deletions

View File

@@ -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);

View File

@@ -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]);