Skip to content

Commit 88f52e0

Browse files
dgafkagithub-actions[bot]
authored andcommitted
Release 1.286.0
1 parent f301a70 commit 88f52e0

File tree

17 files changed

+60
-53
lines changed

17 files changed

+60
-53
lines changed

packages/Amqp/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"require": {
4444
"ext-amqp": "*",
45-
"ecotone/enqueue": "~1.285.0",
45+
"ecotone/enqueue": "~1.286.0",
4646
"enqueue/amqp-ext": "^0.10.18",
4747
"enqueue/dsn": "^0.10.4",
4848
"enqueue/enqueue": "^0.10.0"
@@ -84,7 +84,7 @@
8484
},
8585
"extra": {
8686
"branch-alias": {
87-
"dev-main": "1.285.0-dev"
87+
"dev-main": "1.286.0-dev"
8888
},
8989
"ecotone": {
9090
"repository": "amqp"
@@ -105,7 +105,7 @@
105105
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
106106
}
107107
},
108-
"release-time": "2025-12-22 17:15:31"
108+
"release-time": "2025-12-22 18:48:46"
109109
},
110110
"config": {
111111
"allow-plugins": {

packages/Dbal/composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
}
3535
},
3636
"require": {
37-
"ecotone/enqueue": "~1.285.0",
37+
"ecotone/enqueue": "~1.286.0",
3838
"doctrine/dbal": "^3.9|^4.0",
3939
"enqueue/dsn": "^0.10.4"
4040
},
@@ -46,7 +46,7 @@
4646
"doctrine/cache": "^1.0.0|^2.0",
4747
"doctrine/annotations": "^1.13|^2.0",
4848
"wikimedia/composer-merge-plugin": "^2.1",
49-
"ecotone/jms-converter": "~1.285.0",
49+
"ecotone/jms-converter": "~1.286.0",
5050
"symfony/expression-language": "^6.4|^7.0|^8.0"
5151
},
5252
"scripts": {
@@ -59,7 +59,7 @@
5959
},
6060
"extra": {
6161
"branch-alias": {
62-
"dev-main": "1.285.0-dev"
62+
"dev-main": "1.286.0-dev"
6363
},
6464
"ecotone": {
6565
"repository": "dbal"
@@ -80,7 +80,7 @@
8080
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
8181
}
8282
},
83-
"release-time": "2025-12-22 17:15:31"
83+
"release-time": "2025-12-22 18:48:46"
8484
},
8585
"config": {
8686
"allow-plugins": {

packages/Ecotone/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
},
6868
"extra": {
6969
"branch-alias": {
70-
"dev-main": "1.285.0-dev"
70+
"dev-main": "1.286.0-dev"
7171
},
7272
"ecotone": {
7373
"repository": "ecotone"
@@ -88,7 +88,7 @@
8888
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
8989
}
9090
},
91-
"release-time": "2025-12-22 17:15:31"
91+
"release-time": "2025-12-22 18:48:46"
9292
},
9393
"config": {
9494
"sort-packages": true,

packages/Ecotone/src/Modelling/Api/Distribution/DistributedServiceMap.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
namespace Ecotone\Modelling\Api\Distribution;
66

7+
use function array_key_exists;
8+
79
use Ecotone\Messaging\Attribute\Asynchronous;
810
use Ecotone\Messaging\Config\ConfigurationException;
911
use Ecotone\Messaging\Config\Container\AttributeDefinition;
@@ -14,6 +16,8 @@
1416
use Ecotone\Modelling\DistributedBus;
1517
use Ecotone\Modelling\MessageHandling\Distribution\UnknownDistributedDestination;
1618

19+
use function in_array;
20+
1721
/**
1822
* licence Enterprise
1923
*/
@@ -163,7 +167,7 @@ public function getAllSubscriptionChannels(string $sourceServiceName, string $ro
163167
$keys = $config['keys'];
164168
$exclude = $config['exclude'];
165169

166-
if (\in_array($sourceServiceName, $exclude, true)) {
170+
if (in_array($sourceServiceName, $exclude, true)) {
167171
continue;
168172
}
169173

@@ -181,7 +185,7 @@ public function getAllSubscriptionChannels(string $sourceServiceName, string $ro
181185

182186
public function getChannelNameFor(string $serviceName): string
183187
{
184-
if (! \array_key_exists($serviceName, $this->commandMapping)) {
188+
if (! array_key_exists($serviceName, $this->commandMapping)) {
185189
throw new UnknownDistributedDestination("Service {$serviceName} is not registered in distributed service map");
186190
}
187191

packages/Ecotone/src/Modelling/MessageHandling/Distribution/DistributedOutboundRouter.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
use Ecotone\Modelling\Api\Distribution\DistributedBusHeader;
1111
use Ecotone\Modelling\Api\Distribution\DistributedServiceMap;
1212

13+
use function in_array;
14+
use function sprintf;
15+
1316
/**
1417
* licence Enterprise
1518
*/
@@ -36,8 +39,8 @@ public function route(
3639
} else {
3740
return $this->distributedServiceMap->getAllSubscriptionChannels($this->thisServiceName, $routingKey);
3841
}
39-
} elseif (\in_array($payloadType, ['command', 'message'])) {
40-
Assert::isTrue($targetedServiceName !== null, \sprintf('
42+
} elseif (in_array($payloadType, ['command', 'message'])) {
43+
Assert::isTrue($targetedServiceName !== null, sprintf('
4144
Cannot send commands to shared channel - `%s`. Commands follow point-to-point semantics, and shared channels are reserved for events only.
4245
Change your channel to standard pollable channel.
4346
', $targetedServiceName));

packages/Ecotone/tests/Messaging/Unit/Distributed/DistributedBusWithExplicitServiceMapTest.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ public function test_not_receiving_when_no_event_mapping(): void
366366
[$distributedTicketQueue],
367367
DistributedServiceMap::initialize()
368368
->withCommandMapping(targetServiceName: TestServiceName::TICKET_SERVICE, channelName: $ticketChannelName)
369-
// No event mapping - so no events should be received
369+
// No event mapping - so no events should be received
370370
);
371371
$ticketService = $this->bootstrapEcotone(TestServiceName::TICKET_SERVICE, ['Test\Ecotone\Messaging\Fixture\Distributed\DistributedEventBus\ReceiverTicket'], [new \Test\Ecotone\Messaging\Fixture\Distributed\DistributedEventBus\ReceiverTicket\TicketServiceReceiver()], $distributedTicketQueue);
372372

@@ -812,7 +812,7 @@ public function getConsumed(): array
812812
$this->assertNull($consumerService2->getMessageChannel($service2Name)->receive());
813813
}
814814

815-
public function test_cannot_use_legacy_withServiceMapping_after_withCommandMapping(): void
815+
public function test_cannot_use_legacy_with_service_mapping_after_with_command_mapping(): void
816816
{
817817
$this->expectException(ConfigurationException::class);
818818
$this->expectExceptionMessage('Cannot use withServiceMapping() after withCommandMapping() or withEventMapping()');
@@ -822,7 +822,7 @@ public function test_cannot_use_legacy_withServiceMapping_after_withCommandMappi
822822
->withServiceMapping('service2', 'channel2');
823823
}
824824

825-
public function test_cannot_use_legacy_withServiceMapping_after_withEventMapping(): void
825+
public function test_cannot_use_legacy_with_service_mapping_after_with_event_mapping(): void
826826
{
827827
$this->expectException(ConfigurationException::class);
828828
$this->expectExceptionMessage('Cannot use withServiceMapping() after withCommandMapping() or withEventMapping()');
@@ -832,7 +832,7 @@ public function test_cannot_use_legacy_withServiceMapping_after_withEventMapping
832832
->withServiceMapping('service2', 'channel2');
833833
}
834834

835-
public function test_cannot_use_withCommandMapping_after_legacy_withServiceMapping(): void
835+
public function test_cannot_use_with_command_mapping_after_legacy_with_service_mapping(): void
836836
{
837837
$this->expectException(ConfigurationException::class);
838838
$this->expectExceptionMessage('Cannot use withCommandMapping() after withServiceMapping()');
@@ -842,7 +842,7 @@ public function test_cannot_use_withCommandMapping_after_legacy_withServiceMappi
842842
->withCommandMapping('service2', 'channel2');
843843
}
844844

845-
public function test_cannot_use_withEventMapping_after_legacy_withServiceMapping(): void
845+
public function test_cannot_use_with_event_mapping_after_legacy_with_service_mapping(): void
846846
{
847847
$this->expectException(ConfigurationException::class);
848848
$this->expectExceptionMessage('Cannot use withEventMapping() after withServiceMapping()');

packages/Enqueue/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
}
3434
},
3535
"require": {
36-
"ecotone/ecotone": "~1.285.0",
36+
"ecotone/ecotone": "~1.286.0",
3737
"queue-interop/queue-interop": "^0.8",
3838
"enqueue/dsn": "^0.10.4"
3939
},
@@ -56,7 +56,7 @@
5656
},
5757
"extra": {
5858
"branch-alias": {
59-
"dev-main": "1.285.0-dev"
59+
"dev-main": "1.286.0-dev"
6060
},
6161
"ecotone": {
6262
"repository": "enqueue"
@@ -77,7 +77,7 @@
7777
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
7878
}
7979
},
80-
"release-time": "2025-12-22 17:15:31"
80+
"release-time": "2025-12-22 18:48:46"
8181
},
8282
"config": {
8383
"allow-plugins": {

packages/JmsConverter/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939
},
4040
"require": {
41-
"ecotone/ecotone": "~1.285.0",
41+
"ecotone/ecotone": "~1.286.0",
4242
"jms/serializer": "^3.32",
4343
"symfony/cache": "^6.4|^7.0|^8.0"
4444
},
@@ -60,7 +60,7 @@
6060
},
6161
"extra": {
6262
"branch-alias": {
63-
"dev-main": "1.285.0-dev"
63+
"dev-main": "1.286.0-dev"
6464
},
6565
"ecotone": {
6666
"repository": "jms-converter"
@@ -81,7 +81,7 @@
8181
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
8282
}
8383
},
84-
"release-time": "2025-12-22 17:15:31"
84+
"release-time": "2025-12-22 18:48:46"
8585
},
8686
"config": {
8787
"sort-packages": true,

packages/Kafka/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
},
3434
"require": {
3535
"ext-rdkafka": "*",
36-
"ecotone/ecotone": "~1.285.0"
36+
"ecotone/ecotone": "~1.286.0"
3737
},
3838
"require-dev": {
3939
"phpunit/phpunit": "^10.5|^11.0",
@@ -52,7 +52,7 @@
5252
},
5353
"extra": {
5454
"branch-alias": {
55-
"dev-main": "1.285.0-dev"
55+
"dev-main": "1.286.0-dev"
5656
},
5757
"ecotone": {
5858
"repository": "kafka"
@@ -73,7 +73,7 @@
7373
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
7474
}
7575
},
76-
"release-time": "2025-12-22 17:15:31"
76+
"release-time": "2025-12-22 18:48:46"
7777
},
7878
"config": {
7979
"allow-plugins": {

packages/Laravel/composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
}
3939
},
4040
"require": {
41-
"ecotone/ecotone": "~1.285.0",
41+
"ecotone/ecotone": "~1.286.0",
4242
"laravel/framework": "^9.5.2|^10.0|^11.0|^12.0|^13.0"
4343
},
4444
"require-dev": {
@@ -51,7 +51,7 @@
5151
"symfony/expression-language": "^6.4|^7.0|^8.0",
5252
"nesbot/carbon": "^2.71|^3.0",
5353
"moneyphp/money": "^4.1.0",
54-
"ecotone/dbal": "~1.285.0",
54+
"ecotone/dbal": "~1.286.0",
5555
"timacdonald/log-fake": "^2.0"
5656
},
5757
"extra": {
@@ -61,7 +61,7 @@
6161
]
6262
},
6363
"branch-alias": {
64-
"dev-main": "1.285.0-dev"
64+
"dev-main": "1.286.0-dev"
6565
},
6666
"ecotone": {
6767
"repository": "laravel"
@@ -82,7 +82,7 @@
8282
"description": "Allows to use Enterprise features of Ecotone. For more information please write to [email protected]"
8383
}
8484
},
85-
"release-time": "2025-12-22 17:15:31"
85+
"release-time": "2025-12-22 18:48:46"
8686
},
8787
"scripts": {
8888
"tests:phpstan": "vendor/bin/phpstan",

0 commit comments

Comments
 (0)