Fix doctrine deprecation

This commit is contained in:
Tim 2023-12-24 00:10:33 +01:00
parent a5619e2307
commit 6f64f29177
3 changed files with 11 additions and 15 deletions

View File

@ -46,11 +46,6 @@
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",

20
composer.lock generated
View File

@ -1080,16 +1080,16 @@
},
{
"name": "doctrine/orm",
"version": "2.17.1",
"version": "2.17.2",
"source": {
"type": "git",
"url": "https://github.com/doctrine/orm.git",
"reference": "1a4fe6e0bb67762370937a7e6cee3da40a9122d1"
"reference": "393679a4795e49b0b3ac317dce84d0f8888f2b77"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/doctrine/orm/zipball/1a4fe6e0bb67762370937a7e6cee3da40a9122d1",
"reference": "1a4fe6e0bb67762370937a7e6cee3da40a9122d1",
"url": "https://api.github.com/repos/doctrine/orm/zipball/393679a4795e49b0b3ac317dce84d0f8888f2b77",
"reference": "393679a4795e49b0b3ac317dce84d0f8888f2b77",
"shasum": ""
},
"require": {
@ -1122,10 +1122,10 @@
"phpunit/phpunit": "^7.5 || ^8.5 || ^9.6",
"psr/log": "^1 || ^2 || ^3",
"squizlabs/php_codesniffer": "3.7.2",
"symfony/cache": "^4.4 || ^5.4 || ^6.0",
"symfony/var-exporter": "^4.4 || ^5.4 || ^6.2",
"symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0",
"vimeo/psalm": "4.30.0 || 5.15.0"
"symfony/cache": "^4.4 || ^5.4 || ^6.4 || ^7.0",
"symfony/var-exporter": "^4.4 || ^5.4 || ^6.2 || ^7.0",
"symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0",
"vimeo/psalm": "4.30.0 || 5.16.0"
},
"suggest": {
"ext-dom": "Provides support for XSD validation for XML mapping files",
@ -1175,9 +1175,9 @@
],
"support": {
"issues": "https://github.com/doctrine/orm/issues",
"source": "https://github.com/doctrine/orm/tree/2.17.1"
"source": "https://github.com/doctrine/orm/tree/2.17.2"
},
"time": "2023-11-17T06:25:40+00:00"
"time": "2023-12-20T21:47:52+00:00"
},
{
"name": "doctrine/persistence",

View File

@ -6,6 +6,7 @@ doctrine:
# either here or in the DATABASE_URL env var (see .env file)
#server_version: '15'
orm:
report_fields_where_declared: true
auto_generate_proxy_classes: true
enable_lazy_ghost_objects: true
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware