Skip to content

Commit d4e4509

Browse files
committed
PHP 8.4 > Removed deprecated constant E_STRICT, as it is not in use since PHP 5.4 anymore.
1 parent 355392f commit d4e4509

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/log/sfWebDebugLogger.class.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,6 @@ public function handlePhpError($errno, $errstr, $errfile, $errline, $errcontext
7676
$message = sprintf(' %%s at %s on line %s (%s)', $errfile, $errline, str_replace('%', '%%', $errstr));
7777

7878
switch ($errno) {
79-
case E_STRICT:
80-
$this->dispatcher->notify(new sfEvent($this, 'application.log', ['priority' => sfLogger::ERR, sprintf($message, 'Strict notice')]));
81-
82-
break;
83-
8479
case E_NOTICE:
8580
$this->dispatcher->notify(new sfEvent($this, 'application.log', ['priority' => sfLogger::NOTICE, sprintf($message, 'Notice')]));
8681

0 commit comments

Comments
 (0)