Skip to content

Commit

Permalink
replaced ~ by null
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Aug 1, 2019
1 parent f0e5358 commit 00f7b14
Show file tree
Hide file tree
Showing 12 changed files with 16 additions and 15 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion nelmio/cors-bundle/1.5/config/packages/nelmio_cors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ nelmio_cors:
expose_headers: ['Link']
max_age: 3600
paths:
'^/': ~
'^/': null
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion symfony/framework-bundle/3.3/config/packages/cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ framework:

# Namespaced pools use the above "app" backend by default
#pools:
#my.dedicated.cache: ~
#my.dedicated.cache: null
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion symfony/routing/3.3/config/packages/routing.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
framework:
router:
strict_requirements: ~
strict_requirements: null
2 changes: 1 addition & 1 deletion symfony/routing/4.0/config/packages/routing.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
framework:
router:
strict_requirements: ~
strict_requirements: null
2 changes: 1 addition & 1 deletion symfony/routing/4.2/config/packages/routing.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
framework:
router:
strict_requirements: ~
strict_requirements: null
utf8: true
2 changes: 1 addition & 1 deletion symfony/security-bundle/3.3/config/packages/security.yaml
Original file line number Diff line number Diff line change
@@ -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)/
Expand Down
2 changes: 1 addition & 1 deletion symfony/workflow/3.3/config/packages/workflow.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
framework:
workflows: ~
workflows: null
8 changes: 4 additions & 4 deletions twig/extensions/1.0/config/packages/twig_extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 00f7b14

Please sign in to comment.