Skip to content

Commit 5f8f02a

Browse files
committed
bump
1 parent 2d34fee commit 5f8f02a

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

src/Doctrine/Orm/Tests/AppKernel.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,24 +79,20 @@ protected function configureContainer(ContainerBuilder $c, LoaderInterface $load
7979
'php_errors' => ['log' => true],
8080
'router' => ['utf8' => true],
8181
'http_method_override' => false,
82-
'annotations' => false,
8382
'handle_all_throwables' => true,
8483
'uid' => ['default_uuid_version' => 7, 'time_based_uuid_version' => 7],
8584
];
8685

8786
$ormConfig = ['auto_generate_proxy_classes' => '%kernel.debug%'];
8887

8988
if (!class_exists(Type::class)) {
90-
unset($config['annotations']);
9189
unset($ormConfig['auto_generate_proxy_classes']);
9290
$c->setParameter('.json_streamer.lazy_ghosts_dir', __DIR__.'/cache/json_streamer_lazy_ghost');
9391
}
9492

9593
$c->prependExtensionConfig('framework', $config);
9694
$c->prependExtensionConfig('doctrine', [
97-
'orm' => [
98-
$ormConfig,
99-
],
95+
'orm' => $ormConfig,
10096
]);
10197

10298
$loader->load(__DIR__.'/config.yml');

src/Doctrine/Orm/composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"api-platform/doctrine-common": "^4.2.0-alpha.3@alpha",
2828
"api-platform/metadata": "^4.2",
2929
"api-platform/state": "^4.2.4",
30-
"doctrine/orm": "^2.17 || ^3.0",
31-
"symfony/type-info": "^7.3 || ^8.0"
30+
"doctrine/orm": "^2.17 || ^3.0"
3231
},
3332
"require-dev": {
3433
"doctrine/doctrine-bundle": "^2.11 || ^3.1",
@@ -43,7 +42,8 @@
4342
"symfony/property-info": "^6.4 || ^7.1 || ^8.0",
4443
"symfony/uid": "^6.4 || ^7.0 || ^8.0",
4544
"symfony/validator": "^6.4.11 || ^7.0 || ^8.0",
46-
"symfony/yaml": "^6.4 || ^7.0 || ^8.0"
45+
"symfony/yaml": "^6.4 || ^7.0 || ^8.0",
46+
"symfony/type-info": "^7.3 || ^8.0"
4747
},
4848
"autoload": {
4949
"psr-4": {

0 commit comments

Comments
 (0)