Skip to content

Commit 6a18b6b

Browse files
authored
Merge pull request #497 from symfony-cmf/fix-cs
fix cs
2 parents 5a1fe99 + f70890b commit 6a18b6b

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"require-dev": {
2323
"doctrine/data-fixtures": "^1.0.0",
2424
"doctrine/doctrine-bundle": "^2.8",
25-
"doctrine/orm": "^2.9 || ^3.0",
25+
"doctrine/orm": "^2.9 || ^3.0.1",
2626
"doctrine/phpcr-bundle": "^3.0",
2727
"doctrine/phpcr-odm": "^2.0",
2828
"jackalope/jackalope-doctrine-dbal": "^2.0",

src/CmfRoutingBundle.php

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ private function buildPhpcrCompilerPass(ContainerBuilder $container): void
6363
$aliasMap = ['CmfRoutingBundle' => 'Symfony\Cmf\Bundle\RoutingBundle\Doctrine\Phpcr'];
6464
}
6565
$container->addCompilerPass(
66+
/* @phpstan-ignore arguments.count (support for doctrine/persistence 2) */
6667
DoctrinePhpcrMappingsPass::createXmlMappingDriver(
6768
[
6869
realpath(__DIR__.'/Resources/config/doctrine-model') => 'Symfony\Cmf\Bundle\RoutingBundle\Model',

src/Doctrine/Phpcr/LocaleListener.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function __construct(
7070
PrefixCandidates $candidates,
7171
array $locales,
7272
bool $addLocalePattern = false,
73-
bool $updateAvailableTranslations = false
73+
bool $updateAvailableTranslations = false,
7474
) {
7575
$this->candidates = $candidates;
7676
$this->locales = $locales;

src/Doctrine/Phpcr/RouteProvider.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function __construct(
4545
ManagerRegistry $managerRegistry,
4646
CandidatesInterface $candidatesStrategy,
4747
?string $className = null,
48-
?LoggerInterface $logger = null
48+
?LoggerInterface $logger = null,
4949
) {
5050
parent::__construct($managerRegistry, $className);
5151
$this->candidatesStrategy = $candidatesStrategy;

0 commit comments

Comments
 (0)