From 32dd18737bbe14bd14feb4345cdd66a506a84e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Dunglas?= Date: Sat, 11 May 2019 11:56:16 +0200 Subject: [PATCH] Move the config to the validator recipe --- .../framework-bundle/4.3/config/bootstrap.php | 1 - .../4.3/config/packages/cache.yaml | 1 - .../4.3/config/packages/framework.yaml | 23 ------------------- .../4.3/config/packages/test/framework.yaml | 1 - .../framework-bundle/4.3/config/services.yaml | 1 - symfony/framework-bundle/4.3/manifest.json | 1 - symfony/framework-bundle/4.3/post-install.txt | 1 - symfony/framework-bundle/4.3/public | 1 - symfony/framework-bundle/4.3/src | 1 - .../4.3/config/packages/test/validator.yaml | 3 +++ .../4.3/config/packages/validator.yaml | 8 +++++++ symfony/validator/4.3/manifest.json | 1 + 12 files changed, 12 insertions(+), 31 deletions(-) delete mode 120000 symfony/framework-bundle/4.3/config/bootstrap.php delete mode 120000 symfony/framework-bundle/4.3/config/packages/cache.yaml delete mode 100644 symfony/framework-bundle/4.3/config/packages/framework.yaml delete mode 120000 symfony/framework-bundle/4.3/config/packages/test/framework.yaml delete mode 120000 symfony/framework-bundle/4.3/config/services.yaml delete mode 120000 symfony/framework-bundle/4.3/manifest.json delete mode 120000 symfony/framework-bundle/4.3/post-install.txt delete mode 120000 symfony/framework-bundle/4.3/public delete mode 120000 symfony/framework-bundle/4.3/src create mode 100644 symfony/validator/4.3/config/packages/test/validator.yaml create mode 100644 symfony/validator/4.3/config/packages/validator.yaml create mode 120000 symfony/validator/4.3/manifest.json diff --git a/symfony/framework-bundle/4.3/config/bootstrap.php b/symfony/framework-bundle/4.3/config/bootstrap.php deleted file mode 120000 index a1c12047..00000000 --- a/symfony/framework-bundle/4.3/config/bootstrap.php +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/bootstrap.php \ No newline at end of file diff --git a/symfony/framework-bundle/4.3/config/packages/cache.yaml b/symfony/framework-bundle/4.3/config/packages/cache.yaml deleted file mode 120000 index de9cc8c0..00000000 --- a/symfony/framework-bundle/4.3/config/packages/cache.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../4.2/config/packages/cache.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/4.3/config/packages/framework.yaml b/symfony/framework-bundle/4.3/config/packages/framework.yaml deleted file mode 100644 index fa02e246..00000000 --- a/symfony/framework-bundle/4.3/config/packages/framework.yaml +++ /dev/null @@ -1,23 +0,0 @@ -framework: - secret: '%env(APP_SECRET)%' - #default_locale: en - #csrf_protection: true - #http_method_override: true - - # Enables session support. Note that the session will ONLY be started if you read or write from it. - # Remove or comment this section to explicitly disable session support. - session: - handler_id: ~ - cookie_secure: auto - cookie_samesite: lax - - #esi: true - #fragments: true - php_errors: - log: true - - validation: - # Enables validator auto-mapping support. - # For instance, basic validation constraints will be inferred from Doctrine's metadata. - auto_mapping: - App\Entity\: [] diff --git a/symfony/framework-bundle/4.3/config/packages/test/framework.yaml b/symfony/framework-bundle/4.3/config/packages/test/framework.yaml deleted file mode 120000 index e877c26e..00000000 --- a/symfony/framework-bundle/4.3/config/packages/test/framework.yaml +++ /dev/null @@ -1 +0,0 @@ -../../../../4.2/config/packages/test/framework.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/4.3/config/services.yaml b/symfony/framework-bundle/4.3/config/services.yaml deleted file mode 120000 index be69bb02..00000000 --- a/symfony/framework-bundle/4.3/config/services.yaml +++ /dev/null @@ -1 +0,0 @@ -../../4.2/config/services.yaml \ No newline at end of file diff --git a/symfony/framework-bundle/4.3/manifest.json b/symfony/framework-bundle/4.3/manifest.json deleted file mode 120000 index 5fe6af0e..00000000 --- a/symfony/framework-bundle/4.3/manifest.json +++ /dev/null @@ -1 +0,0 @@ -../4.2/manifest.json \ No newline at end of file diff --git a/symfony/framework-bundle/4.3/post-install.txt b/symfony/framework-bundle/4.3/post-install.txt deleted file mode 120000 index 943d1280..00000000 --- a/symfony/framework-bundle/4.3/post-install.txt +++ /dev/null @@ -1 +0,0 @@ -../4.2/post-install.txt \ No newline at end of file diff --git a/symfony/framework-bundle/4.3/public b/symfony/framework-bundle/4.3/public deleted file mode 120000 index 361dbf4f..00000000 --- a/symfony/framework-bundle/4.3/public +++ /dev/null @@ -1 +0,0 @@ -../4.2/public \ No newline at end of file diff --git a/symfony/framework-bundle/4.3/src b/symfony/framework-bundle/4.3/src deleted file mode 120000 index f8dd8c26..00000000 --- a/symfony/framework-bundle/4.3/src +++ /dev/null @@ -1 +0,0 @@ -../4.2/src \ No newline at end of file diff --git a/symfony/validator/4.3/config/packages/test/validator.yaml b/symfony/validator/4.3/config/packages/test/validator.yaml new file mode 100644 index 00000000..7cf4f518 --- /dev/null +++ b/symfony/validator/4.3/config/packages/test/validator.yaml @@ -0,0 +1,3 @@ +framework: + validation: + disable_not_compromised_password: true diff --git a/symfony/validator/4.3/config/packages/validator.yaml b/symfony/validator/4.3/config/packages/validator.yaml new file mode 100644 index 00000000..1affc688 --- /dev/null +++ b/symfony/validator/4.3/config/packages/validator.yaml @@ -0,0 +1,8 @@ +framework: + validation: + email_validation_mode: html5 + + # Enables validator auto-mapping support. + # For instance, basic validation constraints will be inferred from Doctrine's metadata. + auto_mapping: + App\Entity\: [] diff --git a/symfony/validator/4.3/manifest.json b/symfony/validator/4.3/manifest.json new file mode 120000 index 00000000..39fa2e74 --- /dev/null +++ b/symfony/validator/4.3/manifest.json @@ -0,0 +1 @@ +../4.1/manifest.json \ No newline at end of file