mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-27 12:38:44 +02:00
N°8834 - Add compatibility with PHP 8.4 (#819)
* N°8834 - Add compatibility with PHP 8.4 * Rollback of scssphp/scssphp version upgrade due to compilation error
This commit is contained in:
@@ -25,7 +25,7 @@ final class WithLogLevel
|
||||
public function __construct(public readonly string $level)
|
||||
{
|
||||
if (!\defined('Psr\Log\LogLevel::'.strtoupper($this->level))) {
|
||||
throw new \InvalidArgumentException(sprintf('Invalid log level "%s".', $this->level));
|
||||
throw new \InvalidArgumentException(\sprintf('Invalid log level "%s".', $this->level));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user