Skip to content

Commit

Permalink
PHP 8.4 > Removed deprecated constant E_STRICT, as it is not in use s…
Browse files Browse the repository at this point in the history
…ince PHP 5.4 anymore.
  • Loading branch information
thirsch committed Jan 26, 2025
1 parent 355392f commit d4e4509
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions lib/log/sfWebDebugLogger.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ public function handlePhpError($errno, $errstr, $errfile, $errline, $errcontext
$message = sprintf(' %%s at %s on line %s (%s)', $errfile, $errline, str_replace('%', '%%', $errstr));

switch ($errno) {
case E_STRICT:
$this->dispatcher->notify(new sfEvent($this, 'application.log', ['priority' => sfLogger::ERR, sprintf($message, 'Strict notice')]));

break;

case E_NOTICE:
$this->dispatcher->notify(new sfEvent($this, 'application.log', ['priority' => sfLogger::NOTICE, sprintf($message, 'Notice')]));

Expand Down

0 comments on commit d4e4509

Please sign in to comment.