Skip to content

Commit

Permalink
ENH Remove use of deprecated E_STRICT
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Dec 3, 2024
1 parent 2d69980 commit bd0b067
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Core/BaseKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ protected function bootPHP()
{
if ($this->getEnvironment() === BaseKernel::LIVE) {
// limited to fatal errors and warnings in live mode
error_reporting(E_ALL & ~(E_DEPRECATED | E_STRICT | E_NOTICE));
error_reporting(E_ALL & ~(E_DEPRECATED | E_NOTICE));
} else {
// Report all errors in dev / test mode
error_reporting(E_ALL | E_STRICT);
error_reporting(E_ALL);
}

/**
Expand Down
4 changes: 0 additions & 4 deletions src/Dev/DebugView.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,6 @@ class DebugView
'title' => 'User Warning',
'class' => 'warning'
],
E_STRICT => [
'title' => 'Strict Notice',
'class' => 'notice'
],
E_RECOVERABLE_ERROR => [
'title' => 'Recoverable Error',
'class' => 'warning'
Expand Down

0 comments on commit bd0b067

Please sign in to comment.