Skip to content

Commit 1132685

Browse files
committed
minor #121 Removing deprecation notices (weaverryan)
This PR was squashed before being merged into the main branch. Discussion ---------- Removing deprecation notices | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | None - but aiming to get the tests green again! | License | MIT TODOS: * [ ] Debug the remaining direct deprecation - related to DoctrineProvider cache Commits ------- 56d7865 Removing deprecation notices
2 parents 42f30d5 + 56d7865 commit 1132685

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/Turbo/Tests/app/Kernel.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
use App\Entity\Book;
1515
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
16-
use Doctrine\Bundle\DoctrineBundle\Mapping\MappingDriver;
1716
use Doctrine\ORM\EntityManagerInterface;
1817
use Symfony\Bundle\DebugBundle\DebugBundle;
1918
use Symfony\Bundle\FrameworkBundle\Controller\TemplateController;
@@ -91,10 +90,6 @@ protected function configureContainer(ContainerConfigurator $container): void
9190
],
9291
];
9392

94-
if (class_exists(MappingDriver::class)) {
95-
$doctrineConfig['dbal']['override_url'] = true;
96-
}
97-
9893
$container
9994
->extension('doctrine', $doctrineConfig);
10095

@@ -105,7 +100,6 @@ protected function configureContainer(ContainerConfigurator $container): void
105100
]);
106101

107102
$container->extension('mercure', [
108-
'enable_profiler' => '%kernel.debug%',
109103
'hubs' => [
110104
'default' => [
111105
'url' => $_SERVER['MERCURE_PUBLISH_URL'] ?? 'http://127.0.0.1:3000/.well-known/mercure',

src/Turbo/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"require-dev": {
4343
"doctrine/annotations": "^1.12",
4444
"doctrine/doctrine-bundle": "^2.2",
45-
"doctrine/orm": "~2.8.0",
45+
"doctrine/orm": "^2.8 | 3.0",
4646
"phpstan/phpstan": "^0.12",
4747
"symfony/debug-bundle": "^5.2",
4848
"symfony/form": "^5.2",

0 commit comments

Comments
 (0)