Skip to content

Commit 0b69000

Browse files
committed
Removed E_STRICT references as it's deprecated
1 parent 3c00a1a commit 0b69000

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

package-pman.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_STRICT);
3+
error_reporting(E_ALL & ~E_DEPRECATED & ~E_NOTICE);
44
require_once "PEAR/PackageFileManager2.php";
55

66
PEAR::setErrorHandling(PEAR_ERROR_DIE);

phpdotnet/phd/ErrorHandler.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ class ErrorHandler
77
// PHP Triggered Errors
88
E_DEPRECATED => 'E_DEPRECATED ',
99
E_RECOVERABLE_ERROR => 'E_RECOVERABLE_ERROR ',
10-
E_STRICT => 'E_STRICT ',
1110
E_WARNING => 'E_WARNING ',
1211
E_NOTICE => 'E_NOTICE ',
1312

@@ -50,7 +49,6 @@ public function handleError($errno, $msg, $file, $line) {
5049
// PHP triggered errors
5150
case E_DEPRECATED:
5251
case E_RECOVERABLE_ERROR:
53-
case E_STRICT:
5452
case E_WARNING:
5553
case E_NOTICE:
5654
$this->outputHandler->printPhpError($msg, $file, $line, self::ERROR_MAP[$errno]);

0 commit comments

Comments
 (0)