Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jan 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions symfony/framework-bundle/7.0/config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
10 changes: 10 additions & 0 deletions symfony/routing/7.0/config/packages/routing.yaml
Original file line number Diff line number Diff line change
@@ -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 changes: 5 additions & 0 deletions symfony/routing/7.0/config/routes.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
controllers:
resource:
path: ../src/Controller/
namespace: App\Controller
type: attribute
9 changes: 9 additions & 0 deletions symfony/routing/7.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"aliases": ["router"],
"conflict": {
"symfony/framework-bundle": "<7.0"
}
}
5 changes: 5 additions & 0 deletions symfony/uid/7.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"conflict": {
"symfony/framework-bundle": "<7.0"
}
}
11 changes: 11 additions & 0 deletions symfony/validator/7.0/config/packages/validator.yaml
Original file line number Diff line number Diff line change
@@ -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 changes: 9 additions & 0 deletions symfony/validator/7.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"aliases": ["validation"],
"conflict": {
"symfony/framework-bundle": "<7.0"
}
}