You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewInvalidArgumentException(sprintf('The "%s" service does not exist in the container, please review the "server.periodic.dbal.connections" configuration for the BabDevWebSocketBundle to ensure all connections are set in your DoctrineBundle configuration.', $id));
27
+
thrownewInvalidArgumentException(\sprintf('The "%s" service does not exist in the container, please review the "server.periodic.dbal.connections" configuration for the BabDevWebSocketBundle to ensure all connections are set in your DoctrineBundle configuration.', $id));
Copy file name to clipboardExpand all lines: src/DependencyInjection/Configuration.php
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ private function addServerSection(ArrayNodeDefinition $rootNode): void
81
81
->info('The default URI to listen for connections on.')
82
82
->end()
83
83
->variableNode('context')
84
-
->info(sprintf('Options used to configure the stream context, see the "%s" class documentation for more details.', SocketServer::class))
84
+
->info(\sprintf('Options used to configure the stream context, see the "%s" class documentation for more details.', SocketServer::class))
85
85
->defaultValue([])
86
86
->end()
87
87
->arrayNode('allowed_origins')
@@ -111,7 +111,7 @@ private function addServerSection(ArrayNodeDefinition $rootNode): void
111
111
->addDefaultsIfNotSet()
112
112
->children()
113
113
->arrayNode('connections')
114
-
->info(sprintf('A list of "%s" services to ping.', Connection::class))
114
+
->info(\sprintf('A list of "%s" services to ping.', Connection::class))
115
115
->scalarPrototype()->end()
116
116
->end()
117
117
->integerNode('interval')
@@ -138,13 +138,13 @@ private function addServerSection(ArrayNodeDefinition $rootNode): void
138
138
->addDefaultsIfNotSet()
139
139
->children()
140
140
->scalarNode('factory_service_id')
141
-
->info(sprintf('A service ID for a "%s" implementation to create the session service.', SessionFactoryInterface::class))
141
+
->info(\sprintf('A service ID for a "%s" implementation to create the session service.', SessionFactoryInterface::class))
142
142
->end()
143
143
->scalarNode('storage_factory_service_id')
144
-
->info(sprintf('A service ID for a "%s" implementation to create the session storage service, used with the default session factory.', SessionStorageFactoryInterface::class))
144
+
->info(\sprintf('A service ID for a "%s" implementation to create the session storage service, used with the default session factory.', SessionStorageFactoryInterface::class))
145
145
->end()
146
146
->scalarNode('handler_service_id')
147
-
->info(sprintf('A service ID for a "%s" implementation to create the session handler, used with the default session storage factory.', \SessionHandlerInterface::class))
147
+
->info(\sprintf('A service ID for a "%s" implementation to create the session handler, used with the default session storage factory.', \SessionHandlerInterface::class))
Copy file name to clipboardExpand all lines: src/DependencyInjection/Factory/Authentication/SessionAuthenticationProviderFactory.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ public function createAuthenticationProvider(ContainerBuilder $container, array
32
32
33
33
$firewalls = newParameter('security.firewalls');
34
34
} else {
35
-
thrownewInvalidArgumentException(sprintf('The "firewalls" config must be an array, a string, or null; "%s" given.', get_debug_type($config['firewalls'])));
35
+
thrownewInvalidArgumentException(\sprintf('The "firewalls" config must be an array, a string, or null; "%s" given.', get_debug_type($config['firewalls'])));
thrownew \InvalidArgumentException(sprintf('A placeholder name must be a string (%d given). Did you forget to specify the placeholder key for the requirement "%s" of the route in "%s"?', $placeholder, $requirement, $class->getName()));
62
+
thrownew \InvalidArgumentException(\sprintf('A placeholder name must be a string (%d given). Did you forget to specify the placeholder key for the requirement "%s" of the route in "%s"?', $placeholder, $requirement, $class->getName()));
Copy file name to clipboardExpand all lines: src/Server/ServiceBasedMiddlewareStackBuilder.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ public function __construct(private ?ServerMiddleware $middleware = null) {}
20
20
publicfunctionbuild(): ServerMiddleware
21
21
{
22
22
if (!$this->middlewareinstanceof ServerMiddleware) {
23
-
thrownewMiddlewareNotConfigured(sprintf('The middleware stack is not configured. Ensure your %s instances have the "babdev_websocket_server.server_middleware" service tag or implement your own middleware stack builder.', ServerMiddleware::class));
23
+
thrownewMiddlewareNotConfigured(\sprintf('The middleware stack is not configured. Ensure your %s instances have the "babdev_websocket_server.server_middleware" service tag or implement your own middleware stack builder.', ServerMiddleware::class));
0 commit comments