Skip to content

Commit 2051994

Browse files
committed
Fixed: The reserved indicator "@" cannot start a plain scalar; you need to quote the scalar
1 parent 4604b6a commit 2051994

5 files changed

Lines changed: 24 additions & 24 deletions

File tree

src/Resources/config/asynchronous_commands.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,30 +15,30 @@ services:
1515
class: SimpleBus\Message\Handler\DelegatesToMessageHandlerMiddleware
1616
public: false
1717
arguments:
18-
- @simple_bus.asynchronous.command_bus.command_handler_resolver
18+
- '@simple_bus.asynchronous.command_bus.command_handler_resolver'
1919
tags:
2020
- { name: asynchronous_command_bus_middleware, priority: -1000 }
2121

2222
simple_bus.asynchronous.command_bus.callable_resolver:
2323
class: SimpleBus\Message\CallableResolver\ServiceLocatorAwareCallableResolver
2424
public: false
2525
arguments:
26-
- [@service_container, 'get']
26+
- ['@service_container', 'get']
2727

2828
simple_bus.asynchronous.command_bus.command_handler_map:
2929
class: SimpleBus\Message\CallableResolver\CallableMap
3030
public: false
3131
arguments:
3232
# collection of command handler service ids, will be provided by the RegisterHandlers compiler pass
3333
- []
34-
- @simple_bus.asynchronous.command_bus.callable_resolver
34+
- '@simple_bus.asynchronous.command_bus.callable_resolver'
3535

3636
simple_bus.asynchronous.command_bus.command_handler_resolver:
3737
class: SimpleBus\Message\Handler\Resolver\NameBasedMessageHandlerResolver
3838
public: false
3939
arguments:
40-
- @simple_bus.asynchronous.command_bus.command_name_resolver
41-
- @simple_bus.asynchronous.command_bus.command_handler_map
40+
- '@simple_bus.asynchronous.command_bus.command_name_resolver'
41+
- '@simple_bus.asynchronous.command_bus.command_handler_map'
4242

4343
simple_bus.asynchronous.command_bus.finishes_command_before_handling_next_middleware:
4444
class: SimpleBus\Message\Bus\Middleware\FinishesHandlingMessageBeforeHandlingNext
@@ -49,9 +49,9 @@ services:
4949
simple_bus.asynchronous.command_bus.publishes_unhandled_commands_middleware:
5050
class: SimpleBus\Asynchronous\MessageBus\PublishesUnhandledMessages
5151
arguments:
52-
- @simple_bus.asynchronous.command_publisher
53-
- @logger
54-
- %simple_bus.asynchronous.command_bus.unhandled_messages_log_level%
52+
- '@simple_bus.asynchronous.command_publisher'
53+
- '@logger'
54+
- '%simple_bus.asynchronous.command_bus.unhandled_messages_log_level%'
5555
tags:
5656
- { name: command_bus_middleware, priority: -999 }
5757
- { name: monolog.logger, channel: command_bus }
@@ -60,5 +60,5 @@ services:
6060
class: SimpleBus\Asynchronous\Consumer\StandardSerializedEnvelopeConsumer
6161
public: false
6262
arguments:
63-
- @simple_bus.asynchronous.message_serializer
64-
- @simple_bus.asynchronous.command_bus
63+
- '@simple_bus.asynchronous.message_serializer'
64+
- '@simple_bus.asynchronous.command_bus'

src/Resources/config/asynchronous_commands_logging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ services:
66
class: SimpleBus\Message\Logging\LoggingMiddleware
77
public: false
88
arguments:
9-
- @logger
10-
- %simple_bus.asynchronous.command_bus.logging.level%
9+
- '@logger'
10+
- '%simple_bus.asynchronous.command_bus.logging.level%'
1111
tags:
1212
- { name: monolog.logger, channel: asynchronous_command_bus }
1313
- { name: asynchronous_command_bus_middleware, priority: -999 }

src/Resources/config/asynchronous_events.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ services:
1212
class: SimpleBus\Asynchronous\MessageBus\AlwaysPublishesMessages
1313
public: false
1414
arguments:
15-
- @simple_bus.asynchronous.event_publisher
15+
- '@simple_bus.asynchronous.event_publisher'
1616
tags:
1717
# insert before the middleware that actually notifies a message subscriber of the message
1818
- { name: event_bus_middleware, priority: 0 }
@@ -27,34 +27,34 @@ services:
2727
class: SimpleBus\Message\Subscriber\NotifiesMessageSubscribersMiddleware
2828
public: false
2929
arguments:
30-
- @simple_bus.asynchronous.event_bus.event_subscribers_resolver
30+
- '@simple_bus.asynchronous.event_bus.event_subscribers_resolver'
3131
tags:
3232
- { name: asynchronous_event_bus_middleware, priority: -1000 }
3333

3434
simple_bus.asynchronous.event_bus.callable_resolver:
3535
class: SimpleBus\Message\CallableResolver\ServiceLocatorAwareCallableResolver
3636
public: false
3737
arguments:
38-
- [@service_container, 'get']
38+
- ['@service_container', 'get']
3939

4040
simple_bus.asynchronous.event_bus.event_subscribers_collection:
4141
class: SimpleBus\Message\CallableResolver\CallableCollection
4242
public: false
4343
arguments:
4444
# collection of event subscriber services ids, will be provided by the RegisterSubscribers compiler pas
4545
- []
46-
- @simple_bus.asynchronous.event_bus.callable_resolver
46+
- '@simple_bus.asynchronous.event_bus.callable_resolver'
4747

4848
simple_bus.asynchronous.event_bus.event_subscribers_resolver:
4949
class: SimpleBus\Message\Subscriber\Resolver\NameBasedMessageSubscriberResolver
5050
public: false
5151
arguments:
52-
- @simple_bus.asynchronous.event_bus.event_name_resolver
53-
- @simple_bus.asynchronous.event_bus.event_subscribers_collection
52+
- '@simple_bus.asynchronous.event_bus.event_name_resolver'
53+
- '@simple_bus.asynchronous.event_bus.event_subscribers_collection'
5454

5555
simple_bus.asynchronous.standard_serialized_event_envelope_consumer:
5656
class: SimpleBus\Asynchronous\Consumer\StandardSerializedEnvelopeConsumer
5757
public: false
5858
arguments:
59-
- @simple_bus.asynchronous.message_serializer
60-
- @simple_bus.asynchronous.event_bus
59+
- '@simple_bus.asynchronous.message_serializer'
60+
- '@simple_bus.asynchronous.event_bus'

src/Resources/config/asynchronous_events_logging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ services:
66
class: SimpleBus\Message\Logging\LoggingMiddleware
77
public: false
88
arguments:
9-
- @logger
10-
- %simple_bus.asynchronous.event_bus.logging.level%
9+
- '@logger'
10+
- '%simple_bus.asynchronous.event_bus.logging.level%'
1111
tags:
1212
- { name: monolog.logger, channel: asynchronous_event_bus }
1313
- { name: asynchronous_event_bus_middleware, priority: -999 }

src/Resources/config/serialization.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ services:
1313
class: SimpleBus\Serialization\Envelope\Serializer\StandardMessageInEnvelopeSerializer
1414
public: false
1515
arguments:
16-
- @simple_bus.asynchronous.envelope_factory
16+
- '@simple_bus.asynchronous.envelope_factory'
1717
# configured inside the bundle configuration
18-
- @simple_bus.asynchronous.object_serializer
18+
- '@simple_bus.asynchronous.object_serializer'

0 commit comments

Comments
 (0)