Skip to content

Commit 97aeedc

Browse files
committed
fix PHPStan's analysis, upgrade doctrine/doctrine-bundle min version
1 parent 4450c0f commit 97aeedc

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/continuous-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474

7575
services:
7676
mysql:
77-
image: "mysql:8"
77+
image: "mysql:5.7"
7878
env:
7979
MYSQL_ALLOW_EMPTY_PASSWORD: true
8080
MYSQL_ROOT_PASSWORD:

DependencyInjection/TdbmCompilerPass.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class TdbmCompilerPass implements CompilerPassInterface
1414
/**
1515
* @inheritDoc
1616
*/
17-
public function process(ContainerBuilder $container)
17+
public function process(ContainerBuilder $container): void
1818
{
1919
$generatorListeners = $this->taggedServicesToReferences($container->findTaggedServiceIds(TdbmExtension::TAG_GENERATOR_LISTENER));
2020
$codeGeneratorListeners = $this->taggedServicesToReferences($container->findTaggedServiceIds(TdbmExtension::TAG_CODE_GENERATOR_LISTENER));

TdbmBundle.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
class TdbmBundle extends Bundle
1313
{
14-
public function build(ContainerBuilder $container)
14+
public function build(ContainerBuilder $container): void
1515
{
1616
parent::build($container);
1717

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"require" : {
2424
"php" : ">=7.2",
2525
"thecodingmachine/tdbm" : "~5.2.0",
26-
"doctrine/doctrine-bundle": "^1.9 || ^2",
27-
"doctrine/orm": "^1 || ^2",
26+
"doctrine/doctrine-bundle": "^2",
27+
"doctrine/orm": "^2",
2828
"symfony/http-kernel": "^4.1.9 || ^5"
2929
},
3030
"require-dev": {

0 commit comments

Comments
 (0)