[framework-bundle] Remove options that match the defaults in 7.0 (#1237)

This commit is contained in:
Nicolas Grekas
2024-01-18 09:37:15 +01:00
committed by GitHub
parent bd035c4c59
commit 8f46ee349c
7 changed files with 51 additions and 9 deletions
@@ -2,19 +2,12 @@
framework:
secret: '%env(APP_SECRET)%'
#csrf_protection: true
handle_all_throwables: 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: null
cookie_secure: auto
cookie_samesite: lax
# Note that the session will be started ONLY if you read or write from it.
session: true
#esi: true
#fragments: true
php_errors:
log: true
when@test:
framework:
@@ -0,0 +1,10 @@
framework:
router:
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
#default_uri: http://localhost
when@prod:
framework:
router:
strict_requirements: null
+5
View File
@@ -0,0 +1,5 @@
controllers:
resource:
path: ../src/Controller/
namespace: App\Controller
type: attribute
+9
View File
@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"aliases": ["router"],
"conflict": {
"symfony/framework-bundle": "<7.0"
}
}
+5
View File
@@ -0,0 +1,5 @@
{
"conflict": {
"symfony/framework-bundle": "<7.0"
}
}
@@ -0,0 +1,11 @@
framework:
validation:
# Enables validator auto-mapping support.
# For instance, basic validation constraints will be inferred from Doctrine's metadata.
#auto_mapping:
# App\Entity\: []
when@test:
framework:
validation:
not_compromised_password: false
+9
View File
@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"aliases": ["validation"],
"conflict": {
"symfony/framework-bundle": "<7.0"
}
}