diff --git a/composer.json b/composer.json index 2835903..9d04402 100644 --- a/composer.json +++ b/composer.json @@ -12,16 +12,16 @@ "require": { "php": "^8.1", "digital-craftsman/ids": "0.5.*", - "symfony/messenger": "^6.2", + "symfony/messenger": "^6.4|^7.2", "psr/clock": "^1.0.0", - "symfony/uid": "^6.2" + "symfony/uid": "^6.4|^7.2" }, "require-dev": { "dg/bypass-finals": "^1.4", "friendsofphp/php-cs-fixer": "^3.12", "phpunit/phpunit": "^9.5", "zapoyok/phpunit-php": "@dev", - "symfony/phpunit-bridge": "^6.2" + "symfony/phpunit-bridge": "^6.4|^7.2" }, "repositories": [ { diff --git a/src/Command/AsyncCommandInterface.php b/src/Command/AsyncCommandInterface.php index 073f03e..02cf88f 100644 --- a/src/Command/AsyncCommandInterface.php +++ b/src/Command/AsyncCommandInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/CommandBusInterface.php b/src/Command/CommandBusInterface.php index 642fa1b..cac9264 100644 --- a/src/Command/CommandBusInterface.php +++ b/src/Command/CommandBusInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/CommandHandlerInterface.php b/src/Command/CommandHandlerInterface.php index 6480975..4d6d066 100644 --- a/src/Command/CommandHandlerInterface.php +++ b/src/Command/CommandHandlerInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/CommandInterface.php b/src/Command/CommandInterface.php index fe2be75..73c8afe 100644 --- a/src/Command/CommandInterface.php +++ b/src/Command/CommandInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/CommandResponse.php b/src/Command/CommandResponse.php index a0003f4..f87f970 100644 --- a/src/Command/CommandResponse.php +++ b/src/Command/CommandResponse.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/MessengerCommandBus.php b/src/Command/MessengerCommandBus.php index f5d0f72..1e8f994 100644 --- a/src/Command/MessengerCommandBus.php +++ b/src/Command/MessengerCommandBus.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Command/SyncCommandInterface.php b/src/Command/SyncCommandInterface.php index ae1aed5..25ee85a 100644 --- a/src/Command/SyncCommandInterface.php +++ b/src/Command/SyncCommandInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/DependencyInjection/SccCQRSExtension.php b/src/DependencyInjection/SccCQRSExtension.php index 21ae43f..b17527e 100644 --- a/src/DependencyInjection/SccCQRSExtension.php +++ b/src/DependencyInjection/SccCQRSExtension.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -26,7 +26,7 @@ final class SccCQRSExtension extends Extension // $configuration = new Configuration(); // // $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'); } } diff --git a/src/DependencyInjection/ZapoyokCQRSExtension.php b/src/DependencyInjection/ZapoyokCQRSExtension.php index efc35f9..e2416d0 100644 --- a/src/DependencyInjection/ZapoyokCQRSExtension.php +++ b/src/DependencyInjection/ZapoyokCQRSExtension.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -26,7 +26,7 @@ final class ZapoyokCQRSExtension extends Extension // $configuration = new Configuration(); // // $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'); } } diff --git a/src/DomainModel/Clock/Clock.php b/src/DomainModel/Clock/Clock.php index 109baf4..410ee0e 100644 --- a/src/DomainModel/Clock/Clock.php +++ b/src/DomainModel/Clock/Clock.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/DomainModel/DomainEventInterface.php b/src/DomainModel/DomainEventInterface.php index 36b13ab..86dd8c0 100644 --- a/src/DomainModel/DomainEventInterface.php +++ b/src/DomainModel/DomainEventInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/DomainModel/TriggerEventsTrait.php b/src/DomainModel/TriggerEventsTrait.php index fa8730a..970ad99 100644 --- a/src/DomainModel/TriggerEventsTrait.php +++ b/src/DomainModel/TriggerEventsTrait.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Event/EventBusInterface.php b/src/Event/EventBusInterface.php index a0bd6c0..e406365 100644 --- a/src/Event/EventBusInterface.php +++ b/src/Event/EventBusInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Event/EventHandlerInterface.php b/src/Event/EventHandlerInterface.php index cbb7720..91a3348 100644 --- a/src/Event/EventHandlerInterface.php +++ b/src/Event/EventHandlerInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Event/MessengerEventBus.php b/src/Event/MessengerEventBus.php index 48649a4..26a0a2e 100644 --- a/src/Event/MessengerEventBus.php +++ b/src/Event/MessengerEventBus.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/MessageId.php b/src/MessageId.php index 9cc1c60..b713d4a 100644 --- a/src/MessageId.php +++ b/src/MessageId.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/MessageTrait.php b/src/MessageTrait.php index 6786765..f5f40ac 100644 --- a/src/MessageTrait.php +++ b/src/MessageTrait.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -22,7 +22,7 @@ trait MessageTrait public function stampIds( ?MessageId $messageId = null, ?MessageId $replyToId = null, - ?MessageId $correlationId = null + ?MessageId $correlationId = null, ): static { $this->messageId = $messageId; $this->replyToId = $replyToId; @@ -44,7 +44,7 @@ trait MessageTrait public function stampAsResponse( ?MessageId $replyTo, - ?MessageId $correlationId + ?MessageId $correlationId, ): static { return $this->stampIds( MessageId::nextId(), diff --git a/src/Projection/MessengerProjectionBus.php b/src/Projection/MessengerProjectionBus.php index 82c3caf..0541239 100644 --- a/src/Projection/MessengerProjectionBus.php +++ b/src/Projection/MessengerProjectionBus.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Projection/ProjectionBusInterface.php b/src/Projection/ProjectionBusInterface.php index 88798c7..c1ad4bc 100644 --- a/src/Projection/ProjectionBusInterface.php +++ b/src/Projection/ProjectionBusInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Projection/ProjectionHandlerInterface.php b/src/Projection/ProjectionHandlerInterface.php index 8f7902b..1a2e0a2 100644 --- a/src/Projection/ProjectionHandlerInterface.php +++ b/src/Projection/ProjectionHandlerInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Projection/ProjectionInterface.php b/src/Projection/ProjectionInterface.php index 031fe41..f254853 100644 --- a/src/Projection/ProjectionInterface.php +++ b/src/Projection/ProjectionInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Query/MessengerQueryBus.php b/src/Query/MessengerQueryBus.php index ec3f9f8..3e724a3 100644 --- a/src/Query/MessengerQueryBus.php +++ b/src/Query/MessengerQueryBus.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Query/QueryBusInterface.php b/src/Query/QueryBusInterface.php index 3998703..a3ad7cc 100644 --- a/src/Query/QueryBusInterface.php +++ b/src/Query/QueryBusInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Query/QueryHandlerInterface.php b/src/Query/QueryHandlerInterface.php index 09d6168..ccd4775 100644 --- a/src/Query/QueryHandlerInterface.php +++ b/src/Query/QueryHandlerInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Query/QueryInterface.php b/src/Query/QueryInterface.php index 084b52e..9e32aed 100644 --- a/src/Query/QueryInterface.php +++ b/src/Query/QueryInterface.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/Resources/config/services.php b/src/Resources/config/services.php index a3b40c3..557b85a 100644 --- a/src/Resources/config/services.php +++ b/src/Resources/config/services.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. @@ -21,11 +21,11 @@ return static function (ContainerConfigurator $containerConfigurator): void { ->autoconfigure() ; - $services->load('Zapoyok\CQRSBundle\\', __DIR__ . '/../../../src') + $services->load('Zapoyok\CQRSBundle\\', __DIR__.'/../../../src') ->exclude([ __DIR__, - __DIR__ . '/../../../src/ZapoyokCQRSBundle.php', - __DIR__ . '/../../../src/{DependencyInjection}', + __DIR__.'/../../../src/ZapoyokCQRSBundle.php', + __DIR__.'/../../../src/{DependencyInjection}', ]) ; }; diff --git a/src/SccCQRSBundle.php b/src/SccCQRSBundle.php index 413af27..c833cf6 100644 --- a/src/SccCQRSBundle.php +++ b/src/SccCQRSBundle.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/ValueObject.php b/src/ValueObject.php index d8ba508..0393629 100644 --- a/src/ValueObject.php +++ b/src/ValueObject.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/src/ZapoyokCQRSBundle.php b/src/ZapoyokCQRSBundle.php index 452adb0..96b63e9 100644 --- a/src/ZapoyokCQRSBundle.php +++ b/src/ZapoyokCQRSBundle.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. diff --git a/tests/bootstrap.php b/tests/bootstrap.php index a6b54d2..6726829 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -4,7 +4,7 @@ declare(strict_types=1); /** * This file is part of the zapoyok.info project. - * (c) + * (c) . * * 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; }