Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions phpstan-baseline-8.0.neon

This file was deleted.

32 changes: 0 additions & 32 deletions phpstan-baseline-8.1.neon

This file was deleted.

32 changes: 0 additions & 32 deletions phpstan-baseline-8.2.neon

This file was deleted.

32 changes: 31 additions & 1 deletion phpstan-baseline-gte-8.0.neon
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ parameters:
path: src/bundle/Core/Imagine/IORepositoryResolver.php

-
message: '#^Method Ibexa\\Bundle\\Core\\URLChecker\\Handler\\HTTPHandler\:\:createCurlHandlerForUrl\(\) should return resource but returns \(CurlHandle\|false\)\.$#'
message: '#^Method Ibexa\\Bundle\\Core\\URLChecker\\Handler\\HTTPHandler\:\:createCurlHandlerForUrl\(\) should return resource but returns CurlHandle\.$#'
identifier: return.type
count: 1
path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php
Expand Down Expand Up @@ -114,6 +114,12 @@ parameters:
count: 1
path: src/bundle/LegacySearchEngine/ApiLoader/ConnectionFactory.php

-
message: '#^Parameter \#1 \$array of function array_filter expects array, list\<string\>\|false given\.$#'
identifier: argument.type
count: 1
path: src/bundle/RepositoryInstaller/Installer/DbBasedInstaller.php

-
message: '#^Parameter \#1 \$object_or_class of function is_a expects object\|string, string\|null given\.$#'
identifier: argument.type
Expand Down Expand Up @@ -174,6 +180,12 @@ parameters:
count: 1
path: src/lib/Limitation/LanguageLimitationType.php

-
message: '#^Parameter \#1 \$array of function array_keys expects array, array\<mixed\>\|ArrayObject\<\(int\|string\), mixed\>\|bool\|float\|int\|string\|null given\.$#'
identifier: argument.type
count: 1
path: src/lib/MVC/Symfony/Component/Serializer/AbstractPropertyWhitelistNormalizer.php

-
message: '#^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\URLAlias\> given\.$#'
identifier: argument.type
Expand All @@ -186,6 +198,12 @@ parameters:
count: 1
path: src/lib/MVC/Symfony/Matcher/ContentBased/UrlAlias.php

-
message: '#^Parameter \#1 \$array of class Ibexa\\Core\\FieldType\\FieldSettings constructor expects array\<mixed\>\|object, array\|null given\.$#'
identifier: argument.type
count: 1
path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/SerializableConverter.php

-
message: '#^Parameter \#1 \$array of function array_keys expects array, iterable\<Ibexa\\Contracts\\Core\\Persistence\\Content\\Language\> given\.$#'
identifier: argument.type
Expand Down Expand Up @@ -234,6 +252,12 @@ parameters:
count: 1
path: src/lib/Repository/ProxyFactory/ProxyGenerator.php

-
message: '#^Parameter \#2 \.\.\.\$arrays of function array_diff expects array, array\<mixed\>\|null given\.$#'
identifier: argument.type
count: 1
path: src/lib/Repository/RoleService.php

-
message: '#^Parameter \#1 \$value of function count expects array\|Countable, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\Content\\Location\> given\.$#'
identifier: argument.type
Expand Down Expand Up @@ -354,6 +378,12 @@ parameters:
count: 3
path: tests/integration/Core/Repository/LocationServiceTest.php

-
message: '#^Parameter \#1 \$array of function sort contains unresolvable type\.$#'
identifier: argument.unresolvableType
count: 1
path: tests/integration/Core/Repository/LocationServiceTest.php

-
message: '#^Parameter \#1 \$array of function array_filter expects array, iterable\<Ibexa\\Contracts\\Core\\Repository\\Values\\User\\Policy\> given\.$#'
identifier: argument.type
Expand Down
13 changes: 13 additions & 0 deletions phpstan-baseline-gte-8.1.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
parameters:
ignoreErrors:
-
message: '#^Possibly invalid array key type bool\|float\|int\|string\.$#'
identifier: offsetAccess.invalidOffset
count: 3
path: src/lib/Persistence/Legacy/Content/Mapper.php

-
message: '#^Possibly invalid array key type bool\|float\|int\|string\.$#'
identifier: offsetAccess.invalidOffset
count: 2
path: tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php
Loading
Loading