1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 16:54:44 +02:00
This commit is contained in:
Ryan Cramer
2024-11-01 10:57:53 -04:00
parent b2b810f181
commit 4d6589bdc8
4 changed files with 6 additions and 6 deletions

View File

@@ -288,7 +288,7 @@ class ProcessWire extends Wire {
// this is reset in the $this->setConfig() method based on current debug mode
ini_set('display_errors', true);
error_reporting(E_ALL | E_STRICT);
error_reporting(E_ALL);
$config->setWire($this);
@@ -449,7 +449,7 @@ class ProcessWire extends Wire {
if($debug) {
// If debug mode is on then echo all errors
error_reporting(E_ALL | E_STRICT);
error_reporting(E_ALL);
ini_set('display_errors', 1);
} else {
// disable all error reporting

View File

@@ -158,7 +158,7 @@ class WireShutdown extends Wire {
E_USER_ERROR => $this->_('Error'),
E_USER_WARNING => $this->_('User Warning'),
E_USER_NOTICE => $this->_('User Notice'),
E_STRICT => $this->_('Strict Warning'),
2048 => $this->_('Strict Warning'), // 2048=E_STRICT (deprecated in PHP 8.4)
E_RECOVERABLE_ERROR => $this->_('Recoverable Fatal Error')
);