replaced ~ by null

This commit is contained in:
Fabien Potencier
2019-08-01 08:31:30 +02:00
parent f0e5358bcd
commit 00f7b140b4
12 changed files with 16 additions and 15 deletions

View File

@@ -294,6 +294,7 @@ the recipe:
* YAML files suffix must be ``.yaml``, not ``.yml``;
* YAML files must be valid;
* YAML files must use 4 space indentations;
* YAML files use ``null`` instead of ``~``;
* YAML files under config/packages must not define a "parameters" section;
* JSON files must be valid;
* JSON files must use 4 space indentations;

View File

@@ -7,4 +7,4 @@ nelmio_cors:
expose_headers: ['Link']
max_age: 3600
paths:
'^/': ~
'^/': null

View File

@@ -3,6 +3,6 @@ services:
autowire: true
autoconfigure: true
SensioLabs\Security\SecurityChecker: ~
SensioLabs\Security\SecurityChecker: null
SensioLabs\Security\Command\SecurityCheckerCommand: ~
SensioLabs\Security\Command\SecurityCheckerCommand: null

View File

@@ -16,4 +16,4 @@ framework:
# Namespaced pools use the above "app" backend by default
#pools:
#my.dedicated.cache: ~
#my.dedicated.cache: null

View File

@@ -6,7 +6,7 @@ framework:
# 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: ~
handler_id: null
#esi: true
#fragments: true

View File

@@ -6,7 +6,7 @@ framework:
# 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: ~
handler_id: null
cookie_secure: auto
cookie_samesite: lax

View File

@@ -1,3 +1,3 @@
framework:
router:
strict_requirements: ~
strict_requirements: null

View File

@@ -1,3 +1,3 @@
framework:
router:
strict_requirements: ~
strict_requirements: null

View File

@@ -1,4 +1,4 @@
framework:
router:
strict_requirements: ~
strict_requirements: null
utf8: true

View File

@@ -1,7 +1,7 @@
security:
# https://symfony.com/doc/current/security.html#where-do-users-come-from-user-providers
providers:
in_memory: { memory: ~ }
in_memory: { memory: null }
firewalls:
dev:
pattern: ^/(_(profiler|wdt)|css|images|js)/

View File

@@ -1,2 +1,2 @@
framework:
workflows: ~
workflows: null

View File

@@ -5,7 +5,7 @@ services:
autoconfigure: true
# Uncomment any lines below to activate that Twig extension
#Twig\Extensions\ArrayExtension: ~
#Twig\Extensions\DateExtension: ~
#Twig\Extensions\IntlExtension: ~
#Twig\Extensions\TextExtension: ~
#Twig\Extensions\ArrayExtension: null
#Twig\Extensions\DateExtension: null
#Twig\Extensions\IntlExtension: null
#Twig\Extensions\TextExtension: null