Skip to content

Commit

Permalink
Removed E_STRICT references as it's deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
philip committed Mar 4, 2025
1 parent 3c00a1a commit 0b69000
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion package-pman.php
Original file line number Diff line number Diff line change
@@ -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);
Expand Down
2 changes: 0 additions & 2 deletions phpdotnet/phd/ErrorHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ',

Expand Down Expand Up @@ -50,7 +49,6 @@ public function handleError($errno, $msg, $file, $line) {
// 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]);
Expand Down

0 comments on commit 0b69000

Please sign in to comment.