Update symfony to v7.2

This commit is contained in:
Tim 2025-04-14 19:48:17 +02:00
parent 473a5294ea
commit c250c57a22
4 changed files with 899 additions and 703 deletions

View File

@ -4,34 +4,34 @@
"minimum-stability": "stable", "minimum-stability": "stable",
"prefer-stable": true, "prefer-stable": true,
"require": { "require": {
"php": ">=8.3", "php": ">=8.4",
"ext-ctype": "*", "ext-ctype": "*",
"ext-iconv": "*", "ext-iconv": "*",
"doctrine/doctrine-bundle": "^2.9", "doctrine/doctrine-bundle": "^2.9",
"doctrine/doctrine-migrations-bundle": "^3.2", "doctrine/doctrine-migrations-bundle": "^3.2",
"doctrine/orm": "^2.14", "doctrine/orm": "^2.14",
"league/pipeline": "^1.0", "league/pipeline": "^1.0",
"symfony/console": "7.0.*", "symfony/console": "7.2.*",
"symfony/dotenv": "7.0.*", "symfony/dotenv": "7.2.*",
"symfony/flex": "^2", "symfony/flex": "^2",
"symfony/form": "7.0.*", "symfony/form": "7.2.*",
"symfony/framework-bundle": "7.0.*", "symfony/framework-bundle": "7.2.*",
"symfony/monolog-bundle": "^3.0", "symfony/monolog-bundle": "^3.0",
"symfony/runtime": "7.0.*", "symfony/runtime": "7.2.*",
"symfony/security-bundle": "7.0.*", "symfony/security-bundle": "7.2.*",
"symfony/twig-bundle": "7.0.*", "symfony/twig-bundle": "7.2.*",
"symfony/uid": "7.0.*", "symfony/uid": "7.2.*",
"symfony/validator": "7.0.*", "symfony/validator": "7.2.*",
"symfony/yaml": "7.0.*", "symfony/yaml": "7.2.*",
"twig/extra-bundle": "^2.12|^3.0", "twig/extra-bundle": "^2.12|^3.0",
"twig/twig": "^2.12|^3.0" "twig/twig": "^2.12|^3.0"
}, },
"require-dev": { "require-dev": {
"deployer/deployer": "^7.3", "deployer/deployer": "^7.3",
"symfony/debug-bundle": "7.0.*", "symfony/debug-bundle": "7.2.*",
"symfony/maker-bundle": "^1.48", "symfony/maker-bundle": "^1.48",
"symfony/stopwatch": "7.0.*", "symfony/stopwatch": "7.2.*",
"symfony/web-profiler-bundle": "7.0.*" "symfony/web-profiler-bundle": "7.2.*"
}, },
"config": { "config": {
"allow-plugins": { "allow-plugins": {
@ -73,7 +73,7 @@
"extra": { "extra": {
"symfony": { "symfony": {
"allow-contrib": false, "allow-contrib": false,
"require": "7.0.*" "require": "7.2.*"
} }
} }
} }

1554
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -4,19 +4,29 @@ doctrine:
# IMPORTANT: You MUST configure your server version, # IMPORTANT: You MUST configure your server version,
# either here or in the DATABASE_URL env var (see .env file) # either here or in the DATABASE_URL env var (see .env file)
#server_version: '15' #server_version: '16'
profiling_collect_backtrace: '%kernel.debug%'
use_savepoints: true
orm: orm:
report_fields_where_declared: true report_fields_where_declared: true
auto_generate_proxy_classes: true auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true enable_lazy_ghost_objects: true
report_fields_where_declared: true
validate_xml_mapping: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
identity_generation_preferences:
Doctrine\DBAL\Platforms\PostgreSQLPlatform: identity
auto_mapping: true auto_mapping: true
mappings: mappings:
App: App:
type: attribute
is_bundle: false is_bundle: false
dir: '%kernel.project_dir%/src/Entity' dir: '%kernel.project_dir%/src/Entity'
prefix: 'App\Entity' prefix: 'App\Entity'
alias: App alias: App
controller_resolver:
auto_mapping: false
when@test: when@test:
doctrine: doctrine:

View File

@ -1,11 +1,11 @@
{ {
"doctrine/doctrine-bundle": { "doctrine/doctrine-bundle": {
"version": "2.9", "version": "2.14",
"recipe": { "recipe": {
"repo": "github.com/symfony/recipes", "repo": "github.com/symfony/recipes",
"branch": "main", "branch": "main",
"version": "2.8", "version": "2.13",
"ref": "6b43b7b6ff6bf2551f2933ebeb66721fa3db8fbc" "ref": "8d96c0b51591ffc26794d865ba3ee7d193438a83"
}, },
"files": [ "files": [
"config/packages/doctrine.yaml", "config/packages/doctrine.yaml",