diff --git a/packages/Amqp/composer.json b/packages/Amqp/composer.json index 455b78c81..a0281a5d8 100644 --- a/packages/Amqp/composer.json +++ b/packages/Amqp/composer.json @@ -42,7 +42,7 @@ }, "require": { "ext-amqp": "*", - "ecotone/enqueue": "~1.234.0", + "ecotone/enqueue": "~1.235.0", "enqueue/amqp-ext": "^0.10.18", "enqueue/dsn": "^0.10.4", "enqueue/enqueue": "^0.10.0" @@ -65,7 +65,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "amqp" @@ -86,7 +86,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "config": { "allow-plugins": { diff --git a/packages/Dbal/composer.json b/packages/Dbal/composer.json index 3a2f14203..b2d56b8ed 100644 --- a/packages/Dbal/composer.json +++ b/packages/Dbal/composer.json @@ -33,7 +33,7 @@ } }, "require": { - "ecotone/enqueue": "~1.234.0", + "ecotone/enqueue": "~1.235.0", "enqueue/dbal": "^0.10.17", "doctrine/dbal": "^2.12.0|^3.0" }, @@ -45,7 +45,7 @@ "doctrine/cache": "^1.0.0", "doctrine/annotations": "^1.13", "wikimedia/composer-merge-plugin": "^2.1", - "ecotone/jms-converter": "~1.234.0", + "ecotone/jms-converter": "~1.235.0", "symfony/expression-language": "^6.0|^7.0" }, "scripts": { @@ -58,7 +58,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "dbal" @@ -79,7 +79,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "config": { "allow-plugins": { diff --git a/packages/Ecotone/composer.json b/packages/Ecotone/composer.json index 76cf3c1fa..1b0d0a117 100644 --- a/packages/Ecotone/composer.json +++ b/packages/Ecotone/composer.json @@ -66,7 +66,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "ecotone" @@ -87,7 +87,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "config": { "sort-packages": true, diff --git a/packages/Ecotone/src/Messaging/Config/Annotation/ModuleConfiguration/GatewayModule.php b/packages/Ecotone/src/Messaging/Config/Annotation/ModuleConfiguration/GatewayModule.php index d8dacf6b7..5aaf66484 100644 --- a/packages/Ecotone/src/Messaging/Config/Annotation/ModuleConfiguration/GatewayModule.php +++ b/packages/Ecotone/src/Messaging/Config/Annotation/ModuleConfiguration/GatewayModule.php @@ -128,7 +128,7 @@ public function prepare(Configuration $messagingConfiguration, array $extensionO foreach ($this->gatewayBuilders as $gatewayBuilder) { /** @var Asynchronous[] $asynchronous */ $asynchronous = $interfaceToCallRegistry->getFor($gatewayBuilder->getInterfaceName(), $gatewayBuilder->getRelatedMethodName())->getAnnotationsByImportanceOrder(TypeDescriptor::create(Asynchronous::class)); - if ($asynchronous && !$messagingConfiguration->isRunningForEnterpriseLicence()) { + if ($asynchronous && ! $messagingConfiguration->isRunningForEnterpriseLicence()) { throw LicensingException::create("Gateway {$gatewayBuilder->getInterfaceName()}::{$gatewayBuilder->getRelatedMethodName()} is marked as asynchronous. This functionality is available as part of Ecotone Enterprise."); } diff --git a/packages/Ecotone/src/Messaging/Config/ModuleClassList.php b/packages/Ecotone/src/Messaging/Config/ModuleClassList.php index c8a29abf9..cdf7f50da 100644 --- a/packages/Ecotone/src/Messaging/Config/ModuleClassList.php +++ b/packages/Ecotone/src/Messaging/Config/ModuleClassList.php @@ -45,7 +45,6 @@ use Ecotone\Messaging\Handler\Logger\Config\LoggingModule; use Ecotone\Messaging\Handler\Logger\Config\MessageHandlerLogger; use Ecotone\Modelling\CommandBus; -use Ecotone\Modelling\Config\MessageBusChannel; use Ecotone\Modelling\Config\BusRoutingModule; use Ecotone\Modelling\Config\DistributedGatewayModule; use Ecotone\Modelling\Config\InstantRetry\InstantRetryModule; diff --git a/packages/Ecotone/src/Messaging/Support/MessageBuilder.php b/packages/Ecotone/src/Messaging/Support/MessageBuilder.php index 6a0fad1bc..5a0ff228c 100644 --- a/packages/Ecotone/src/Messaging/Support/MessageBuilder.php +++ b/packages/Ecotone/src/Messaging/Support/MessageBuilder.php @@ -114,7 +114,7 @@ public function setHeader(string $headerName, $headerValue): self public function setRoutingSlip(array $routingSlip): self { - if (!$routingSlip) { + if (! $routingSlip) { return $this; } diff --git a/packages/Ecotone/src/Modelling/Config/MessageBusChannel.php b/packages/Ecotone/src/Modelling/Config/MessageBusChannel.php index 0b4c80639..63474d191 100644 --- a/packages/Ecotone/src/Modelling/Config/MessageBusChannel.php +++ b/packages/Ecotone/src/Modelling/Config/MessageBusChannel.php @@ -2,23 +2,6 @@ namespace Ecotone\Modelling\Config; -use Ecotone\AnnotationFinder\AnnotationFinder; -use Ecotone\Messaging\Attribute\ModuleAnnotation; -use Ecotone\Messaging\Config\Annotation\AnnotationModule; -use Ecotone\Messaging\Config\Annotation\ModuleConfiguration\NoExternalConfigurationModule; -use Ecotone\Messaging\Config\Configuration; -use Ecotone\Messaging\Config\ModulePackageList; -use Ecotone\Messaging\Config\ModuleReferenceSearchService; -use Ecotone\Messaging\Handler\Gateway\GatewayProxyBuilder; -use Ecotone\Messaging\Handler\Gateway\ParameterToMessageConverter\GatewayHeaderBuilder; -use Ecotone\Messaging\Handler\Gateway\ParameterToMessageConverter\GatewayHeadersBuilder; -use Ecotone\Messaging\Handler\Gateway\ParameterToMessageConverter\GatewayPayloadBuilder; -use Ecotone\Messaging\Handler\InterfaceToCallRegistry; -use Ecotone\Messaging\MessageHeaders; -use Ecotone\Modelling\CommandBus; -use Ecotone\Modelling\EventBus; -use Ecotone\Modelling\QueryBus; - /** * licence Apache-2.0 */ diff --git a/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/AsyncCommandBus.php b/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/AsyncCommandBus.php index c72651cf4..ced37e0df 100644 --- a/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/AsyncCommandBus.php +++ b/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/AsyncCommandBus.php @@ -7,8 +7,7 @@ use Ecotone\Messaging\Attribute\Asynchronous; use Ecotone\Modelling\CommandBus; -#[Asynchronous("async")] +#[Asynchronous('async')] interface AsyncCommandBus extends CommandBus { - -} \ No newline at end of file +} diff --git a/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/AsyncTicketCreator.php b/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/AsyncTicketCreator.php index 2080016c9..119f50ab6 100644 --- a/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/AsyncTicketCreator.php +++ b/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/AsyncTicketCreator.php @@ -12,11 +12,11 @@ */ interface AsyncTicketCreator { - #[Asynchronous("async")] - #[MessageGateway("create")] + #[Asynchronous('async')] + #[MessageGateway('create')] public function create($data); - #[Asynchronous("async")] - #[MessageGateway("proxy")] + #[Asynchronous('async')] + #[MessageGateway('proxy')] public function proxy($data); -} \ No newline at end of file +} diff --git a/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/TicketCreator.php b/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/TicketCreator.php index e4af09c0a..86511cd5c 100644 --- a/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/TicketCreator.php +++ b/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/TicketCreator.php @@ -11,6 +11,6 @@ */ interface TicketCreator { - #[MessageGateway("create")] + #[MessageGateway('create')] public function create($data); -} \ No newline at end of file +} diff --git a/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/TicketService.php b/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/TicketService.php index 6f8bfe8f7..07abe4899 100644 --- a/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/TicketService.php +++ b/packages/Ecotone/tests/Messaging/Fixture/Service/Gateway/TicketService.php @@ -15,27 +15,27 @@ final class TicketService { private array $tickets = []; - #[InternalHandler("create")] + #[InternalHandler('create')] public function createTicket(mixed $data): void { $this->tickets[] = $data; } - #[CommandHandler("createViaCommand")] + #[CommandHandler('createViaCommand')] public function createTicketViaCommand(mixed $data): void { $this->tickets[] = $data; } - #[InternalHandler("proxy")] + #[InternalHandler('proxy')] public function proxy(mixed $data, AsyncTicketCreator $asyncTicketCreator): void { $asyncTicketCreator->create($data); } - #[QueryHandler("getTickets")] + #[QueryHandler('getTickets')] public function getTickets(): array { return $this->tickets; } -} \ No newline at end of file +} diff --git a/packages/Ecotone/tests/Messaging/Unit/Handler/Gateway/AsynchronousGatewayTest.php b/packages/Ecotone/tests/Messaging/Unit/Handler/Gateway/AsynchronousGatewayTest.php index ffa2aca8a..28f856308 100644 --- a/packages/Ecotone/tests/Messaging/Unit/Handler/Gateway/AsynchronousGatewayTest.php +++ b/packages/Ecotone/tests/Messaging/Unit/Handler/Gateway/AsynchronousGatewayTest.php @@ -12,11 +12,11 @@ use PHPUnit\Framework\TestCase; use Test\Ecotone\Messaging\Fixture\Service\Gateway\AsyncCommandBus; use Test\Ecotone\Messaging\Fixture\Service\Gateway\AsyncTicketCreator; -use Test\Ecotone\Messaging\Fixture\Service\Gateway\TicketCreator; use Test\Ecotone\Messaging\Fixture\Service\Gateway\TicketService; /** * licence Enterprise + * @internal */ final class AsynchronousGatewayTest extends TestCase { @@ -26,7 +26,7 @@ public function test_running_async_gateway(): void [AsyncTicketCreator::class, TicketService::class], [new TicketService()], enableAsynchronousProcessing: [ - SimpleMessageChannelBuilder::createQueueChannel("async") + SimpleMessageChannelBuilder::createQueueChannel('async'), ], licenceKey: LicenceTesting::VALID_LICENCE, ); @@ -55,7 +55,7 @@ public function test_running_async_gateway_inside_async_gateway(): void [AsyncTicketCreator::class, TicketService::class], [new TicketService()], enableAsynchronousProcessing: [ - SimpleMessageChannelBuilder::createQueueChannel("async") + SimpleMessageChannelBuilder::createQueueChannel('async'), ], licenceKey: LicenceTesting::VALID_LICENCE, ); @@ -82,7 +82,7 @@ public function test_extending_command_bus_with_async_functionality(): void [AsyncCommandBus::class, TicketService::class], [new TicketService()], enableAsynchronousProcessing: [ - SimpleMessageChannelBuilder::createQueueChannel("async") + SimpleMessageChannelBuilder::createQueueChannel('async'), ], licenceKey: LicenceTesting::VALID_LICENCE, ); @@ -108,8 +108,8 @@ public function test_throwing_exception_when_using_async_gateway_in_non_enterpri [AsyncTicketCreator::class, TicketService::class], [new TicketService()], enableAsynchronousProcessing: [ - SimpleMessageChannelBuilder::createQueueChannel("async") + SimpleMessageChannelBuilder::createQueueChannel('async'), ], ); } -} \ No newline at end of file +} diff --git a/packages/Ecotone/tests/Messaging/Unit/Handler/Gateway/GatewayProxyBuilderTest.php b/packages/Ecotone/tests/Messaging/Unit/Handler/Gateway/GatewayProxyBuilderTest.php index e647df8c4..73d377155 100644 --- a/packages/Ecotone/tests/Messaging/Unit/Handler/Gateway/GatewayProxyBuilderTest.php +++ b/packages/Ecotone/tests/Messaging/Unit/Handler/Gateway/GatewayProxyBuilderTest.php @@ -86,11 +86,11 @@ public function test_running_gateway(): void /** @var TicketCreator $ticketCreator */ $ticketCreator = $ecotoneLite->getGateway(TicketCreator::class); - $ticketCreator->create("some"); + $ticketCreator->create('some'); $this->assertEquals( - ["some"], - $ecotoneLite->sendQueryWithRouting("getTickets") + ['some'], + $ecotoneLite->sendQueryWithRouting('getTickets') ); } diff --git a/packages/Enqueue/composer.json b/packages/Enqueue/composer.json index 4cd3955d6..db303af8b 100644 --- a/packages/Enqueue/composer.json +++ b/packages/Enqueue/composer.json @@ -33,7 +33,7 @@ } }, "require": { - "ecotone/ecotone": "~1.234.0", + "ecotone/ecotone": "~1.235.0", "queue-interop/queue-interop": "^0.8", "enqueue/dsn": "^0.10.4" }, @@ -56,7 +56,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "enqueue" @@ -77,7 +77,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "config": { "allow-plugins": { diff --git a/packages/JmsConverter/composer.json b/packages/JmsConverter/composer.json index 12620d017..c79344624 100644 --- a/packages/JmsConverter/composer.json +++ b/packages/JmsConverter/composer.json @@ -38,7 +38,7 @@ } }, "require": { - "ecotone/ecotone": "~1.234.0", + "ecotone/ecotone": "~1.235.0", "jms/serializer": "^3.17", "symfony/cache": "^5.4|^6.1|^7.0" }, @@ -60,7 +60,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "jms-converter" @@ -81,7 +81,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "config": { "sort-packages": true, diff --git a/packages/Laravel/composer.json b/packages/Laravel/composer.json index 3464e0498..cbb146559 100644 --- a/packages/Laravel/composer.json +++ b/packages/Laravel/composer.json @@ -38,7 +38,7 @@ } }, "require": { - "ecotone/ecotone": "~1.234.0", + "ecotone/ecotone": "~1.235.0", "laravel/framework": "^9.5.2|^10.0|^11.0" }, "require-dev": { @@ -51,7 +51,7 @@ "symfony/expression-language": "^6.0|^7.0", "nesbot/carbon": "^2.71", "moneyphp/money": "^4.1.0", - "ecotone/dbal": "~1.234.0", + "ecotone/dbal": "~1.235.0", "timacdonald/log-fake": "^2.0" }, "extra": { @@ -61,7 +61,7 @@ ] }, "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "laravel" @@ -82,7 +82,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "scripts": { "tests:phpstan": "vendor/bin/phpstan", diff --git a/packages/LiteApplication/composer.json b/packages/LiteApplication/composer.json index bee4f1e65..55e81559b 100644 --- a/packages/LiteApplication/composer.json +++ b/packages/LiteApplication/composer.json @@ -36,8 +36,8 @@ } }, "require": { - "ecotone/ecotone": "~1.234.0", - "ecotone/jms-converter": "~1.234.0", + "ecotone/ecotone": "~1.235.0", + "ecotone/jms-converter": "~1.235.0", "php-di/php-di": "^7.0.1" }, "require-dev": { @@ -50,7 +50,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "lite-application" @@ -71,7 +71,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "scripts": { "tests:phpstan": "vendor/bin/phpstan", diff --git a/packages/OpenTelemetry/composer.json b/packages/OpenTelemetry/composer.json index f3dec4b73..5aa5dec8e 100644 --- a/packages/OpenTelemetry/composer.json +++ b/packages/OpenTelemetry/composer.json @@ -34,7 +34,7 @@ } }, "require": { - "ecotone/ecotone": "~1.234.0", + "ecotone/ecotone": "~1.235.0", "open-telemetry/sdk": "^1.0.0" }, "require-dev": { @@ -64,7 +64,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "open-telemetry" @@ -85,7 +85,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "config": { "allow-plugins": { diff --git a/packages/PdoEventSourcing/composer.json b/packages/PdoEventSourcing/composer.json index a16af5f63..72733f2f1 100644 --- a/packages/PdoEventSourcing/composer.json +++ b/packages/PdoEventSourcing/composer.json @@ -33,7 +33,7 @@ } }, "require": { - "ecotone/dbal": "~1.234.0", + "ecotone/dbal": "~1.235.0", "prooph/pdo-event-store": "^1.15.1" }, "require-dev": { @@ -51,7 +51,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "pdo-event-sourcing" @@ -72,7 +72,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "config": { "allow-plugins": { diff --git a/packages/Redis/composer.json b/packages/Redis/composer.json index bb3676e20..42cf993f5 100644 --- a/packages/Redis/composer.json +++ b/packages/Redis/composer.json @@ -38,7 +38,7 @@ } }, "require": { - "ecotone/enqueue": "~1.234.0", + "ecotone/enqueue": "~1.235.0", "enqueue/redis": "^0.10.9" }, "require-dev": { @@ -60,7 +60,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "redis" @@ -81,7 +81,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "config": { "allow-plugins": { diff --git a/packages/Sqs/composer.json b/packages/Sqs/composer.json index 0a8f98f7d..268c45cfe 100644 --- a/packages/Sqs/composer.json +++ b/packages/Sqs/composer.json @@ -33,7 +33,7 @@ } }, "require": { - "ecotone/enqueue": "~1.234.0", + "ecotone/enqueue": "~1.235.0", "enqueue/sqs": "^0.10.15", "aws/aws-sdk-php": "<=3.269.5" }, @@ -58,7 +58,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "sqs" @@ -79,7 +79,7 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" }, "config": { "sort-packages": true, diff --git a/packages/Symfony/composer.json b/packages/Symfony/composer.json index 26d1d4da0..de656f620 100644 --- a/packages/Symfony/composer.json +++ b/packages/Symfony/composer.json @@ -27,7 +27,7 @@ ], "description": "Extends Ecotone with Symfony integration", "require": { - "ecotone/ecotone": "~1.234.0", + "ecotone/ecotone": "~1.235.0", "symfony/console": "^5.4|^6.0|^7.0", "symfony/dependency-injection": ">=v5.4.19 <6.0.0 || >=v6.0.19 <6.1.0 || >=v6.1.11 <6.2.0 || >=v6.2.5 <7.0.0 || >=v7.0.0 <8.0.0", "symfony/framework-bundle": "^5.4|^6.0|^7.0" @@ -36,7 +36,7 @@ "behat/behat": "^3.10", "doctrine/doctrine-bundle": "^2.7.2", "doctrine/orm": "^2.11|^3.0", - "ecotone/dbal": "~1.234.0", + "ecotone/dbal": "~1.235.0", "friends-of-behat/symfony-extension": "<=2.4.2|^2.5", "monolog/monolog": "^2.9|^3.3.1", "phpstan/phpstan": "^1.8", @@ -91,7 +91,7 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "symfony" @@ -112,6 +112,6 @@ "description": "Allows to use Enterprise features of Ecotone. For more information please write to support@simplycodedsoftware.com" } }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" } } \ No newline at end of file diff --git a/quickstart-examples/composer.json b/quickstart-examples/composer.json index bcf772933..50df5bfc6 100644 --- a/quickstart-examples/composer.json +++ b/quickstart-examples/composer.json @@ -65,11 +65,11 @@ }, "extra": { "branch-alias": { - "dev-main": "1.234.0-dev" + "dev-main": "1.235.0-dev" }, "ecotone": { "repository": "quickstart-examples" }, - "release-time": "2024-10-23 06:26:35" + "release-time": "2024-10-26 13:09:58" } } \ No newline at end of file