Skip to content

Commit f68d13f

Browse files
feat: allow doctrine/doctrine-bundle 3 (#159)
bump min versions Co-authored-by: Christopher Georg <[email protected]>
1 parent 1afd736 commit f68d13f

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

Tests/App/config/config_test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ doctrine:
3232
charset: UTF8
3333
path: "%database_path%"
3434
url: null
35-
use_savepoints: true
35+
#use_savepoints: true # removed in doctrine-bundle v3
3636
orm:
37-
auto_generate_proxy_classes: true
37+
#auto_generate_proxy_classes: true # removed in doctrine-bundle v3
3838
auto_mapping: false
3939
naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
40-
enable_lazy_ghost_objects: true
41-
report_fields_where_declared: true
40+
#enable_lazy_ghost_objects: true # removed in doctrine-bundle v3
41+
#report_fields_where_declared: true # removed in doctrine-bundle v3
4242

4343
mappings:
4444
# added for type: "attribute"
@@ -49,7 +49,7 @@ doctrine:
4949
prefix: Dukecity\CommandSchedulerBundle\Entity
5050
alias: CommandSchedulerBundle
5151
controller_resolver:
52-
auto_mapping: true
52+
#auto_mapping: true # false in doctrine-bundle v3
5353

5454
dukecity_command_scheduler:
5555
lock_timeout: 300

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818
"require": {
1919
"php": ">=8.2",
2020
"doctrine/orm": "^2.20.6 || ^3.5",
21-
"doctrine/doctrine-bundle": "^2.16",
21+
"doctrine/doctrine-bundle": "^2.18.0 || ^3.0",
2222
"doctrine/collections": "^2.3",
23-
"doctrine/dbal": "^3.9.3 || ^4.3",
24-
"doctrine/persistence": "^3.4 || ^4.1",
23+
"doctrine/dbal": "^3.10.3 || ^4.3",
24+
"doctrine/persistence": "^3.4.1 || ^4.1",
2525
"dragonmantank/cron-expression": "^3.4",
2626
"knplabs/knp-time-bundle": "^2.4",
2727
"lorisleiva/cron-translator": "^0.4.6",
@@ -43,10 +43,10 @@
4343
"twig/twig": "^3.21"
4444
},
4545
"require-dev": {
46-
"doctrine/doctrine-fixtures-bundle": "^4.1",
47-
"liip/test-fixtures-bundle": "^3.5",
46+
"doctrine/doctrine-fixtures-bundle": "^4.2",
47+
"liip/test-fixtures-bundle": "^3.6",
4848
"phpstan/phpstan": "^2.1",
49-
"phpunit/phpunit": "^11.5.42 || ^12.4.0",
49+
"phpunit/phpunit": "^11.5.42 || ^12.4.1",
5050
"symfony/browser-kit": "^7.3",
5151
"symfony/css-selector": "^7.3",
5252
"symfony/debug-bundle": "^7.3",

0 commit comments

Comments
 (0)