mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-29 13: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:
@@ -19,13 +19,13 @@ namespace Symfony\Component\Filesystem\Exception;
|
||||
*/
|
||||
class FileNotFoundException extends IOException
|
||||
{
|
||||
public function __construct(string $message = null, int $code = 0, \Throwable $previous = null, string $path = null)
|
||||
public function __construct(?string $message = null, int $code = 0, ?\Throwable $previous = null, ?string $path = null)
|
||||
{
|
||||
if (null === $message) {
|
||||
if (null === $path) {
|
||||
$message = 'File could not be found.';
|
||||
} else {
|
||||
$message = sprintf('File "%s" could not be found.', $path);
|
||||
$message = \sprintf('File "%s" could not be found.', $path);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user