chore(SF7): Allow Symfony 7
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user