Skip to content

Commit

Permalink
Update Skeleton to Symfony 7.2 (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz authored Feb 5, 2025
1 parent a6012e8 commit f0f3c8e
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 20 deletions.
Empty file removed .env.dev
Empty file.
30 changes: 15 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@
"scheb/2fa-trusted-device": "^7.2",
"stof/doctrine-extensions-bundle": "^1.11",
"sulu/sulu": "~2.6.6",
"symfony/config": "^7.1",
"symfony/dotenv": "^7.1",
"symfony/config": "^7.2",
"symfony/dotenv": "^7.2",
"symfony/flex": "^1.17 || ^2.0",
"symfony/framework-bundle": "^7.1",
"symfony/mailer": "^7.1",
"symfony/monolog-bridge": "^7.1",
"symfony/framework-bundle": "^7.2",
"symfony/mailer": "^7.2",
"symfony/monolog-bridge": "^7.2",
"symfony/monolog-bundle": "^3.4",
"symfony/runtime": "^7.1",
"symfony/security-bundle": "^7.1",
"symfony/twig-bundle": "^7.1"
"symfony/runtime": "^7.2",
"symfony/security-bundle": "^7.2",
"symfony/twig-bundle": "^7.2"
},
"require-dev": {
"jangregor/phpstan-prophecy": "^1.0",
Expand All @@ -66,13 +66,13 @@
"phpunit/phpunit": "^9.6",
"rector/rector": "^1.0",
"sulu/sulu-rector": "^1.0",
"symfony/browser-kit": "^7.1",
"symfony/css-selector": "^7.1",
"symfony/debug-bundle": "^7.1",
"symfony/error-handler": "^7.1",
"symfony/phpunit-bridge": "^7.1",
"symfony/browser-kit": "^7.2",
"symfony/css-selector": "^7.2",
"symfony/debug-bundle": "^7.2",
"symfony/error-handler": "^7.2",
"symfony/phpunit-bridge": "^7.2",
"symfony/thanks": "^1.2",
"symfony/web-profiler-bundle": "^7.1",
"symfony/web-profiler-bundle": "^7.2",
"thecodingmachine/phpstan-strict-rules": "^1.0",
"vincentlanglet/twig-cs-fixer": "^3.0"
},
Expand Down Expand Up @@ -203,7 +203,7 @@
"extra": {
"symfony": {
"allow-contrib": true,
"require": "7.1.*"
"require": "7.2.*"
}
}
}
11 changes: 11 additions & 0 deletions config/packages/csrf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Enable stateless CSRF protection for forms and logins/logouts
framework:
form:
# csrf_protection:
# token_id: submit
#
# csrf_protection:
# stateless_token_ids:
# - submit
# - authenticate
# - logout
3 changes: 1 addition & 2 deletions config/packages/framework.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# see https://symfony.com/doc/current/reference/configuration/framework.html
framework:
secret: '%env(APP_SECRET)%'
#csrf_protection: true
http_method_override: true # enable also in the index.php
http_method_override: true # enabled also in the index.php

# 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.
Expand Down
18 changes: 15 additions & 3 deletions symfony.lock
Original file line number Diff line number Diff line change
Expand Up @@ -212,13 +212,25 @@
".env.dev"
]
},
"symfony/form": {
"version": "7.2",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "7.2",
"ref": "7d86a6723f4a623f59e2bf966b6aad2fc461d36b"
},
"files": [
"config/packages/csrf.yaml"
]
},
"symfony/framework-bundle": {
"version": "7.1",
"version": "7.2",
"recipe": {
"repo": "github.com/symfony/recipes",
"branch": "main",
"version": "7.0",
"ref": "6356c19b9ae08e7763e4ba2d9ae63043efc75db5"
"version": "7.2",
"ref": "87bcf6f7c55201f345d8895deda46d2adbdbaa89"
},
"files": [
"config/packages/cache.yaml",
Expand Down

0 comments on commit f0f3c8e

Please sign in to comment.