From f4d9b2c595d23b936541770c471d3631881f740e Mon Sep 17 00:00:00 2001 From: Antoine Lamirault Date: Mon, 12 Feb 2024 19:13:01 +0100 Subject: [PATCH] Minor: remove duplicated lines --- components/dependency_injection.rst | 1 - migration.rst | 1 - reference/configuration/framework.rst | 26 ------------------------- reference/configuration/security.rst | 1 - reference/constraints/Unique.rst | 1 - workflow/workflow-and-state-machine.rst | 1 - 6 files changed, 31 deletions(-) diff --git a/components/dependency_injection.rst b/components/dependency_injection.rst index 79b35bf312e..93e8af711cf 100644 --- a/components/dependency_injection.rst +++ b/components/dependency_injection.rst @@ -178,7 +178,6 @@ You can override this behavior as follows:: // the second argument is optional and defines what to do when the service doesn't exist $newsletterManager = $containerBuilder->get('newsletter_manager', ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); - These are all the possible behaviors: * ``ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE``: throws an exception diff --git a/migration.rst b/migration.rst index 16fa43fa281..44485248545 100644 --- a/migration.rst +++ b/migration.rst @@ -340,7 +340,6 @@ somewhat like this:: throw new \Exception("Unhandled legacy mapping for $requestPathInfo"); } - public static function handleRequest(Request $request, Response $response, string $publicDirectory): void { $legacyScriptFilename = LegacyBridge::getLegacyScript($request); diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index 2491b94de5f..23975913173 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -2847,32 +2847,6 @@ annotation changes). For performance reasons, it is recommended to disable debug mode in production, which will happen automatically if you use the default value. -secrets -~~~~~~~ - -decryption_env_var -.................. - -**type**: ``string`` **default**: ``base64:default::SYMFONY_DECRYPTION_SECRET`` - -The environment variable that contains the decryption key. - -local_dotenv_file -................. - -**type**: ``string`` **default**: ``%kernel.project_dir%/.env.%kernel.environment%.local`` - -Path to an dotenv file that holds secrets. This is primarily used for testing. - -vault_directory -............... - -**type**: ``string`` **default**: ``%kernel.project_dir%/config/secrets/%kernel.environment%`` - -The directory where the vault of secrets is stored. - -.. _configuration-framework-serializer: - serializer ~~~~~~~~~~ diff --git a/reference/configuration/security.rst b/reference/configuration/security.rst index 64a16c7d616..590f2472425 100644 --- a/reference/configuration/security.rst +++ b/reference/configuration/security.rst @@ -495,7 +495,6 @@ user logs out:: ->domain('example.com'); }; - clear_site_data ............... diff --git a/reference/constraints/Unique.rst b/reference/constraints/Unique.rst index c7ee71329c4..8954f455086 100644 --- a/reference/constraints/Unique.rst +++ b/reference/constraints/Unique.rst @@ -95,7 +95,6 @@ Options **type**: ``array`` | ``string`` - This is defines the key or keys in a collection that should be checked for uniqueness. By default, all collection keys are checked for uniqueness. diff --git a/workflow/workflow-and-state-machine.rst b/workflow/workflow-and-state-machine.rst index e72b50f8d1e..c94214fc22f 100644 --- a/workflow/workflow-and-state-machine.rst +++ b/workflow/workflow-and-state-machine.rst @@ -282,7 +282,6 @@ machine type, use ``camelCased workflow name + StateMachine``:: // ... } - Automatic and Manual Validation -------------------------------