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
thrownewInvalidConfigurationException(sprintf('You have configured "async_aws.%s" but the "%s" package is not installed. Try running "composer require %s"', $name, $data['type'], $availableServices[$data['type']]['package']));
77
+
thrownewInvalidConfigurationException(\sprintf('You have configured "async_aws.%s" but the "%s" package is not installed. Try running "composer require %s"', $name, $data['type'], $availableServices[$data['type']]['package']));
if (!class_exists($className = $availableServices['ssm']['class'])) {
233
-
thrownewInvalidConfigurationException(sprintf('You have enabled "async_aws.secrets" but the "%s" package is not installed. Try running "composer require %s"', 'ssm', $availableServices['ssm']['package']));
233
+
thrownewInvalidConfigurationException(\sprintf('You have enabled "async_aws.secrets" but the "%s" package is not installed. Try running "composer require %s"', 'ssm', $availableServices['ssm']['package']));
234
234
}
235
235
236
236
if (null !== $client = $config['secrets']['client']) {
237
237
if (!isset($config['clients'][$client])) {
238
-
thrownewInvalidConfigurationException(sprintf('The client "%s" configured in "async_aws.secrets" does not exists. Available clients are "%s"', $client, implode(', ', array_keys($config['clients']))));
238
+
thrownewInvalidConfigurationException(\sprintf('The client "%s" configured in "async_aws.secrets" does not exists. Available clients are "%s"', $client, implode(', ', array_keys($config['clients']))));
239
239
}
240
240
if ('ssm' !== $config['clients'][$client]['type']) {
241
-
thrownewInvalidConfigurationException(sprintf('The client "%s" configured in "async_aws.secrets" is not a SSM client.', $client));
241
+
thrownewInvalidConfigurationException(\sprintf('The client "%s" configured in "async_aws.secrets" is not a SSM client.', $client));
242
242
}
243
243
} else {
244
244
if (!isset($config['clients']['ssm'])) {
@@ -289,7 +289,7 @@ private function autowireServices(ContainerBuilder $container, array $usedServic
Copy file name to clipboardexpand all lines: src/DependencyInjection/Configuration.php
+2-2
Original file line number
Diff line number
Diff line change
@@ -79,12 +79,12 @@ private static function validateType(?array $clients): array
79
79
foreach ($clientsas$name => $config) {
80
80
if (\in_array($name, $awsServices)) {
81
81
if (isset($config['type']) && $name !== $config['type']) {
82
-
thrownewInvalidConfigurationException(sprintf('You cannot define a service named "%s" with type "%s". That is super confusing.', $name, $config['type']));
82
+
thrownewInvalidConfigurationException(\sprintf('You cannot define a service named "%s" with type "%s". That is super confusing.', $name, $config['type']));
83
83
}
84
84
$clients[$name]['type'] = $name;
85
85
} elseif (!isset($config['type'])) {
86
86
if (!\in_array($name, $awsServices)) {
87
-
thrownewInvalidConfigurationException(sprintf('The "async_aws.client.%s" does not have a type. We were unable to guess what AWS service you want. Please add "aws.service.%s.type".', $name, $name));
87
+
thrownewInvalidConfigurationException(\sprintf('The "async_aws.client.%s" does not have a type. We were unable to guess what AWS service you want. Please add "aws.service.%s.type".', $name, $name));
0 commit comments