Skip to content

Commit

Permalink
IBX-8418: PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
barw4 committed Nov 8, 2024
1 parent e55cc6b commit 4db9078
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -19010,11 +19010,6 @@ parameters:
count: 1
path: src/lib/Persistence/Legacy/User/Mapper.php

-
message: "#^array\\|string does not accept array\\<int, mixed\\>\\.$#"
count: 1
path: src/lib/Persistence/Legacy/User/Mapper.php

-
message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\User\\\\Role\\\\Gateway\\:\\:addPolicyLimitations\\(\\) has parameter \\$limitations with no value type specified in iterable type array\\.$#"
count: 1
Expand Down Expand Up @@ -27090,23 +27085,18 @@ parameters:
count: 5
path: tests/integration/Core/Repository/ContentServiceTest.php

-
message: "#^Cannot access offset 0 on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Relation\\>\\.$#"
count: 12
path: tests/integration/Core/Repository/ContentServiceTest.php

-
message: "#^Cannot access offset 0 on iterable\\<Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\VersionInfo\\>\\.$#"
count: 7
path: tests/integration/Core/Repository/ContentServiceTest.php

-
message: "#^Cannot access offset 0 on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\VersionInfo\\>\\.$#"
count: 4
message: "#^Cannot access offset 0 on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Relation\\>\\.$#"
count: 12
path: tests/integration/Core/Repository/ContentServiceTest.php

-
message: "#^Cannot access offset 1 on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Relation\\>\\.$#"
message: "#^Cannot access offset 0 on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\VersionInfo\\>\\.$#"
count: 4
path: tests/integration/Core/Repository/ContentServiceTest.php

Expand All @@ -27115,6 +27105,11 @@ parameters:
count: 2
path: tests/integration/Core/Repository/ContentServiceTest.php

-
message: "#^Cannot access offset 1 on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Relation\\>\\.$#"
count: 4
path: tests/integration/Core/Repository/ContentServiceTest.php

-
message: "#^Cannot access offset 1 on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\VersionInfo\\>\\.$#"
count: 1
Expand All @@ -27141,12 +27136,12 @@ parameters:
path: tests/integration/Core/Repository/ContentServiceTest.php

-
message: "#^Cannot access offset mixed on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\ContentInfo\\>\\.$#"
message: "#^Cannot access offset int on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\VersionInfo\\>\\.$#"
count: 1
path: tests/integration/Core/Repository/ContentServiceTest.php

-
message: "#^Cannot access offset int on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\VersionInfo\\>\\.$#"
message: "#^Cannot access offset mixed on iterable\\<int, Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\ContentInfo\\>\\.$#"
count: 1
path: tests/integration/Core/Repository/ContentServiceTest.php

Expand Down

0 comments on commit 4db9078

Please sign in to comment.