diff --git a/core/lib/Drupal/Core/Cache/CacheFactory.php b/core/lib/Drupal/Core/Cache/CacheFactory.php index d74639cd7c..ee14206fa7 100644 --- a/core/lib/Drupal/Core/Cache/CacheFactory.php +++ b/core/lib/Drupal/Core/Cache/CacheFactory.php @@ -35,7 +35,7 @@ class CacheFactory implements CacheFactoryInterface, ContainerAwareInterface { */ public function __construct($default_bin_backends = []) { if ($default_bin_backends instanceof Settings) { - @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); + @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in drupal:11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); $args = func_get_args(); $default_bin_backends = $args[1]; } diff --git a/core/lib/Drupal/Core/Database/ReplicaKillSwitch.php b/core/lib/Drupal/Core/Database/ReplicaKillSwitch.php index 49ba278a14..c849155f53 100644 --- a/core/lib/Drupal/Core/Database/ReplicaKillSwitch.php +++ b/core/lib/Drupal/Core/Database/ReplicaKillSwitch.php @@ -38,7 +38,7 @@ class ReplicaKillSwitch implements EventSubscriberInterface { */ public function __construct($time, $session) { if ($time instanceof Settings) { - @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); + @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in drupal:11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); $args = func_get_args(); $time = $args[1]; $session = $args[2]; diff --git a/core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php b/core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php index 54dd0f8b96..d5b64a4687 100644 --- a/core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php +++ b/core/lib/Drupal/Core/EventSubscriber/ExcludedModulesEventSubscriber.php @@ -41,7 +41,7 @@ final class ExcludedModulesEventSubscriber implements EventSubscriberInterface { public function __construct(StorageInterface $active_storage, $manager) { $this->activeStorage = $active_storage; if ($manager instanceof Settings) { - @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); + @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in drupal:11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); $args = func_get_args(); $manager = $args[2]; } diff --git a/core/lib/Drupal/Core/File/FileSystem.php b/core/lib/Drupal/Core/File/FileSystem.php index 226b259b8d..e658337c12 100644 --- a/core/lib/Drupal/Core/File/FileSystem.php +++ b/core/lib/Drupal/Core/File/FileSystem.php @@ -56,7 +56,7 @@ class FileSystem implements FileSystemInterface { public function __construct(StreamWrapperManagerInterface $stream_wrapper_manager, $logger) { $this->streamWrapperManager = $stream_wrapper_manager; if ($logger instanceof Settings) { - @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); + @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in drupal:11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); $args = func_get_args(); $logger = $args[2]; } diff --git a/core/modules/language/src/LanguageNegotiator.php b/core/modules/language/src/LanguageNegotiator.php index 380b15ad96..adb3f512f5 100644 --- a/core/modules/language/src/LanguageNegotiator.php +++ b/core/modules/language/src/LanguageNegotiator.php @@ -80,7 +80,7 @@ public function __construct(ConfigurableLanguageManagerInterface $language_manag $this->negotiatorManager = $negotiator_manager; $this->configFactory = $config_factory; if ($requestStack instanceof Settings) { - @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); + @trigger_error('The settings service should not be passed to ' . __METHOD__ . ' since drupal:9.5.0. The service will be removed in drupal:"11.0.0. See https://www.drupal.org/node/3306646', E_USER_DEPRECATED); $args = func_get_args(); $requestStack = $args[4]; }