Skip to content

Commit e784f1b

Browse files
committed
[PHPStan] Aligned baseline
1 parent 916c9a3 commit e784f1b

File tree

3 files changed

+14
-8
lines changed

3 files changed

+14
-8
lines changed

phpstan-baseline-7.4.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ parameters:
371371
path: tests/integration/Core/Repository/ContentServiceTest.php
372372

373373
-
374-
message: "#^Parameter \\#1 \\$input of function array_values expects array, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\> given\\.$#"
374+
message: "#^Parameter \\#1 \\$input of function array_values expects array\\<T\\>, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\> given\\.$#"
375375
count: 1
376376
path: tests/integration/Core/Repository/ContentServiceTest.php
377377

phpstan-baseline-gte-8.0.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -320,11 +320,6 @@ parameters:
320320
count: 1
321321
path: tests/integration/Core/Repository/ContentServiceTest.php
322322

323-
-
324-
message: "#^Parameter \\#1 \\$array of function array_values expects array, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\> given\\.$#"
325-
count: 1
326-
path: tests/integration/Core/Repository/ContentServiceTest.php
327-
328323
-
329324
message: "#^Parameter \\#1 \\$array of function usort expects TArray of array, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Relation\\> given\\.$#"
330325
count: 2

phpstan-baseline.neon

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2191,7 +2191,7 @@ parameters:
21912191
path: src/bundle/Core/EventListener/SessionInitByPostListener.php
21922192

21932193
-
2194-
message: "#^Parameter \\#1 \\$id of method Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\:\\:setId\\(\\) expects string, bool\\|float\\|int\\|string given\\.$#"
2194+
message: "#^Parameter \\#1 \\$id of method Symfony\\\\Component\\\\HttpFoundation\\\\Session\\\\SessionInterface\\:\\:setId\\(\\) expects string, bool\\|float\\|int\\|string\\|null given\\.$#"
21952195
count: 1
21962196
path: src/bundle/Core/EventListener/SessionInitByPostListener.php
21972197

@@ -20057,7 +20057,7 @@ parameters:
2005720057

2005820058
-
2005920059
message: "#^Access to an undefined property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\ValueObject\\:\\:\\$contentId\\.$#"
20060-
count: 4
20060+
count: 2
2006120061
path: src/lib/Repository/Mapper/ContentDomainMapper.php
2006220062

2006320063
-
@@ -24040,6 +24040,11 @@ parameters:
2404024040
count: 1
2404124041
path: tests/bundle/Core/DependencyInjection/Configuration/SiteAccessAware/ConfigurationProcessorTest.php
2404224042

24043+
-
24044+
message: "#^Offset 'sa1'\\|'sa2' on array\\{sa1\\: array\\{foo\\: 'bar', hello\\: 'world', an_integer\\: 123, a_bool\\: true\\}, sa2\\: array\\{foo\\: 'bar2', hello\\: 'universe', an_integer\\: 456, a_bool\\: false\\}\\} in isset\\(\\) always exists and is not nullable\\.$#"
24045+
count: 1
24046+
path: tests/bundle/Core/DependencyInjection/Configuration/SiteAccessAware/ConfigurationProcessorTest.php
24047+
2404324048
-
2404424049
message: "#^Parameter \\#2 \\$mapper of method Ibexa\\\\Bundle\\\\Core\\\\DependencyInjection\\\\Configuration\\\\SiteAccessAware\\\\ConfigurationProcessor\\:\\:mapConfig\\(\\) expects \\(callable\\(\\)\\: mixed\\)\\|Ibexa\\\\Bundle\\\\Core\\\\DependencyInjection\\\\Configuration\\\\SiteAccessAware\\\\ConfigurationMapperInterface, stdClass given\\.$#"
2404524050
count: 1
@@ -28145,6 +28150,11 @@ parameters:
2814528150
count: 1
2814628151
path: tests/integration/Core/Repository/ContentServiceTest.php
2814728152

28153+
-
28154+
message: "#^Parameter \\#1 \\$array of function array_values expects array\\<T\\>, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Location\\> given\\.$#"
28155+
count: 1
28156+
path: tests/integration/Core/Repository/ContentServiceTest.php
28157+
2814828158
-
2814928159
message: "#^Parameter \\#1 \\$fields of method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\ContentServiceTest\\:\\:assertAllFieldsEquals\\(\\) expects array\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Field\\>, iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Field\\> given\\.$#"
2815028160
count: 1
@@ -62639,3 +62649,4 @@ parameters:
6263962649
message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Specification\\\\Content\\\\ContentTypeSpecificationTest\\:\\:providerForIsSatisfiedBy\\(\\) return type has no value type specified in iterable type array\\.$#"
6264062650
count: 1
6264162651
path: tests/lib/Specification/Content/ContentTypeSpecificationTest.php
62652+

0 commit comments

Comments
 (0)