chore(SF7): Allow Symfony 7
This commit is contained in:
@@ -12,16 +12,16 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1",
|
"php": "^8.1",
|
||||||
"digital-craftsman/ids": "0.5.*",
|
"digital-craftsman/ids": "0.5.*",
|
||||||
"symfony/messenger": "^6.2",
|
"symfony/messenger": "^6.4|^7.2",
|
||||||
"psr/clock": "^1.0.0",
|
"psr/clock": "^1.0.0",
|
||||||
"symfony/uid": "^6.2"
|
"symfony/uid": "^6.4|^7.2"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"dg/bypass-finals": "^1.4",
|
"dg/bypass-finals": "^1.4",
|
||||||
"friendsofphp/php-cs-fixer": "^3.12",
|
"friendsofphp/php-cs-fixer": "^3.12",
|
||||||
"phpunit/phpunit": "^9.5",
|
"phpunit/phpunit": "^9.5",
|
||||||
"zapoyok/phpunit-php": "@dev",
|
"zapoyok/phpunit-php": "@dev",
|
||||||
"symfony/phpunit-bridge": "^6.2"
|
"symfony/phpunit-bridge": "^6.4|^7.2"
|
||||||
},
|
},
|
||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
@@ -26,7 +26,7 @@ final class SccCQRSExtension extends Extension
|
|||||||
// $configuration = new Configuration();
|
// $configuration = new Configuration();
|
||||||
//
|
//
|
||||||
// $config = $processor->processConfiguration($configuration, $configs);
|
// $config = $processor->processConfiguration($configuration, $configs);
|
||||||
$loader = new PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
|
$loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||||
$loader->load('services.php');
|
$loader->load('services.php');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
@@ -26,7 +26,7 @@ final class ZapoyokCQRSExtension extends Extension
|
|||||||
// $configuration = new Configuration();
|
// $configuration = new Configuration();
|
||||||
//
|
//
|
||||||
// $config = $processor->processConfiguration($configuration, $configs);
|
// $config = $processor->processConfiguration($configuration, $configs);
|
||||||
$loader = new PhpFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
|
$loader = new PhpFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
|
||||||
$loader->load('services.php');
|
$loader->load('services.php');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
@@ -22,7 +22,7 @@ trait MessageTrait
|
|||||||
public function stampIds(
|
public function stampIds(
|
||||||
?MessageId $messageId = null,
|
?MessageId $messageId = null,
|
||||||
?MessageId $replyToId = null,
|
?MessageId $replyToId = null,
|
||||||
?MessageId $correlationId = null
|
?MessageId $correlationId = null,
|
||||||
): static {
|
): static {
|
||||||
$this->messageId = $messageId;
|
$this->messageId = $messageId;
|
||||||
$this->replyToId = $replyToId;
|
$this->replyToId = $replyToId;
|
||||||
@@ -44,7 +44,7 @@ trait MessageTrait
|
|||||||
|
|
||||||
public function stampAsResponse(
|
public function stampAsResponse(
|
||||||
?MessageId $replyTo,
|
?MessageId $replyTo,
|
||||||
?MessageId $correlationId
|
?MessageId $correlationId,
|
||||||
): static {
|
): static {
|
||||||
return $this->stampIds(
|
return $this->stampIds(
|
||||||
MessageId::nextId(),
|
MessageId::nextId(),
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
@@ -21,11 +21,11 @@ return static function (ContainerConfigurator $containerConfigurator): void {
|
|||||||
->autoconfigure()
|
->autoconfigure()
|
||||||
;
|
;
|
||||||
|
|
||||||
$services->load('Zapoyok\CQRSBundle\\', __DIR__ . '/../../../src')
|
$services->load('Zapoyok\CQRSBundle\\', __DIR__.'/../../../src')
|
||||||
->exclude([
|
->exclude([
|
||||||
__DIR__,
|
__DIR__,
|
||||||
__DIR__ . '/../../../src/ZapoyokCQRSBundle.php',
|
__DIR__.'/../../../src/ZapoyokCQRSBundle.php',
|
||||||
__DIR__ . '/../../../src/{DependencyInjection}',
|
__DIR__.'/../../../src/{DependencyInjection}',
|
||||||
])
|
])
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is part of the zapoyok.info project.
|
* 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
|
* For the full copyright and license information, please view the LICENSE
|
||||||
* file that was distributed with this source code.
|
* file that was distributed with this source code.
|
||||||
@@ -23,12 +23,12 @@ use Doctrine\Deprecations\Deprecation;
|
|||||||
*/
|
*/
|
||||||
setlocale(\LC_ALL, 'en_US.UTF-8');
|
setlocale(\LC_ALL, 'en_US.UTF-8');
|
||||||
|
|
||||||
require_once __DIR__ . '/../vendor/autoload.php';
|
require_once __DIR__.'/../vendor/autoload.php';
|
||||||
|
|
||||||
if (class_exists(Deprecation::class)) {
|
if (class_exists(Deprecation::class)) {
|
||||||
Deprecation::enableWithTriggerError();
|
Deprecation::enableWithTriggerError();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (file_exists($file = __DIR__ . '/custom_bootstrap.php')) {
|
if (file_exists($file = __DIR__.'/custom_bootstrap.php')) {
|
||||||
require_once $file;
|
require_once $file;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user