chore(SF7): Allow Symfony 7

This commit is contained in:
2025-02-26 18:04:17 +01:00
parent fa6f9d1080
commit efb3518138
31 changed files with 42 additions and 42 deletions

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
/**
* This file is part of the zapoyok.info project.
* (c) <zapoyok.info> <jerome.fix@zapoyok.info>
* (c) <zapoyok.info> <jerome.fix@zapoyok.info>.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
@@ -23,12 +23,12 @@ use Doctrine\Deprecations\Deprecation;
*/
setlocale(\LC_ALL, 'en_US.UTF-8');
require_once __DIR__ . '/../vendor/autoload.php';
require_once __DIR__.'/../vendor/autoload.php';
if (class_exists(Deprecation::class)) {
Deprecation::enableWithTriggerError();
}
if (file_exists($file = __DIR__ . '/custom_bootstrap.php')) {
if (file_exists($file = __DIR__.'/custom_bootstrap.php')) {
require_once $file;
}