Skip to content

Commit 5298f5f

Browse files
committed
SA fix
1 parent 188cfc4 commit 5298f5f

2 files changed

Lines changed: 14 additions & 4 deletions

File tree

phpstan-baseline.neon

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
parameters:
22
ignoreErrors:
3+
-
4+
message: '#^Parameter \#2 \$id of static method Patchlevel\\EventSourcingBundle\\DependencyInjection\\ServiceAliasResolver\:\:resolve\(\) expects string, array\|bool\|float\|int\|string\|null given\.$#'
5+
identifier: argument.type
6+
count: 1
7+
path: src/DependencyInjection/CommandHandlerCompilerPass.php
8+
39
-
410
message: '#^Parameter \#1 \$classString of static method Patchlevel\\EventSourcing\\QueryBus\\HandlerFinder\:\:findInClass\(\) expects class\-string, string given\.$#'
511
identifier: argument.type
612
count: 1
713
path: src/DependencyInjection/QueryHandlerCompilerPass.php
814

15+
-
16+
message: '#^Parameter \#2 \$id of static method Patchlevel\\EventSourcingBundle\\DependencyInjection\\ServiceAliasResolver\:\:resolve\(\) expects string, array\|bool\|float\|int\|string\|null given\.$#'
17+
identifier: argument.type
18+
count: 1
19+
path: src/DependencyInjection/QueryHandlerCompilerPass.php
20+
921
-
1022
message: '#^Property Patchlevel\\EventSourcingBundle\\Tests\\Fixtures\\Profile\:\:\$id is never read, only written\.$#'
1123
identifier: property.onlyWritten

src/DependencyInjection/ServiceAliasResolver.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@
66

77
use Symfony\Component\DependencyInjection\ContainerBuilder;
88

9-
/**
10-
* @interal
11-
*/
9+
/** @interal */
1210
final readonly class ServiceAliasResolver
1311
{
1412
public static function resolve(ContainerBuilder $container, string $id): string
@@ -22,4 +20,4 @@ public static function resolve(ContainerBuilder $container, string $id): string
2220

2321
return $id;
2422
}
25-
}
23+
}

0 commit comments

Comments
 (0)