From d0f7334e48e858a508a9979e6ff92c7cee0bc817 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Mon, 29 Jan 2018 14:02:43 -0600 Subject: [PATCH] Changing ~ to true when it activates a system (for clarity) --- symfony/framework-bundle/3.3/config/packages/framework.yaml | 6 +++--- .../3.3/config/packages/test/framework.yaml | 2 +- symfony/security-bundle/3.3/config/packages/security.yaml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/symfony/framework-bundle/3.3/config/packages/framework.yaml b/symfony/framework-bundle/3.3/config/packages/framework.yaml index f97dbe38..8b244184 100644 --- a/symfony/framework-bundle/3.3/config/packages/framework.yaml +++ b/symfony/framework-bundle/3.3/config/packages/framework.yaml @@ -1,7 +1,7 @@ framework: secret: '%env(APP_SECRET)%' #default_locale: en - #csrf_protection: ~ + #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. @@ -9,8 +9,8 @@ framework: session: handler_id: ~ - #esi: ~ - #fragments: ~ + #esi: true + #fragments: true php_errors: log: true diff --git a/symfony/framework-bundle/3.3/config/packages/test/framework.yaml b/symfony/framework-bundle/3.3/config/packages/test/framework.yaml index 76d7e5e1..d051c840 100644 --- a/symfony/framework-bundle/3.3/config/packages/test/framework.yaml +++ b/symfony/framework-bundle/3.3/config/packages/test/framework.yaml @@ -1,4 +1,4 @@ framework: - test: ~ + test: true session: storage_id: session.storage.mock_file diff --git a/symfony/security-bundle/3.3/config/packages/security.yaml b/symfony/security-bundle/3.3/config/packages/security.yaml index 503df389..fb4c593e 100644 --- a/symfony/security-bundle/3.3/config/packages/security.yaml +++ b/symfony/security-bundle/3.3/config/packages/security.yaml @@ -7,14 +7,14 @@ security: pattern: ^/(_(profiler|wdt)|css|images|js)/ security: false main: - anonymous: ~ + anonymous: true # activate different ways to authenticate - # http_basic: ~ + # http_basic: true # https://symfony.com/doc/current/security.html#a-configuring-how-your-users-will-authenticate - # form_login: ~ + # form_login: true # https://symfony.com/doc/current/security/form_login_setup.html # Easy way to control access for large sections of your site