diff --git a/phpstan-baseline-7.4.neon b/phpstan-baseline-7.4.neon index 63e48aa8de..01b0004bcd 100644 --- a/phpstan-baseline-7.4.neon +++ b/phpstan-baseline-7.4.neon @@ -375,16 +375,6 @@ parameters: count: 3 path: src/lib/Search/Common/FieldNameResolver.php - - - message: "#^Parameter \\#1 \\$str of function trim expects string, int\\|string given\\.$#" - count: 1 - path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/Ancestor.php - - - - message: "#^Parameter \\#1 \\$str of function trim expects string, int\\|string given\\.$#" - count: 1 - path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Ancestor.php - - message: "#^Parameter \\#1 \\$object of method ReflectionProperty\\:\\:getValue\\(\\) expects object, object\\|null given\\.$#" count: 1 diff --git a/phpstan-baseline-8.0.neon b/phpstan-baseline-8.0.neon index a9b6e51067..ee435d8726 100644 --- a/phpstan-baseline-8.0.neon +++ b/phpstan-baseline-8.0.neon @@ -310,16 +310,6 @@ parameters: count: 3 path: src/lib/Search/Common/FieldNameResolver.php - - - message: "#^Parameter \\#1 \\$string of function trim expects string, int\\|string given\\.$#" - count: 1 - path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/Ancestor.php - - - - message: "#^Parameter \\#1 \\$string of function trim expects string, int\\|string given\\.$#" - count: 1 - path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Ancestor.php - - message: "#^Parameter \\#1 \\$value of function count expects array\\|Countable, array\\|bool\\|float\\|int\\|string\\|null given\\.$#" count: 1 diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index ac2649e3e0..14e7c1ed70 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -7150,11 +7150,6 @@ parameters: count: 1 path: src/contracts/Repository/Values/Content/Query/Criterion.php - - - message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\:\\:\\$value \\(array\\\\|bool\\|int\\|string\\) does not accept array\\\\|bool\\|int\\|string\\.$#" - count: 1 - path: src/contracts/Repository/Values/Content/Query/Criterion.php - - message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\:\\:\\$valueData \\(Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\\\Value\\) does not accept Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\\\Value\\|null\\.$#" count: 1 @@ -7240,11 +7235,6 @@ parameters: count: 1 path: src/contracts/Repository/Values/Content/Query/Criterion/LogicalOperator.php - - - message: "#^Parameter \\#3 \\$value of method Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\:\\:__construct\\(\\) expects array\\\\|bool\\|int\\|string, array\\\\|float given\\.$#" - count: 1 - path: src/contracts/Repository/Values/Content/Query/Criterion/MapLocationDistance.php - - message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\Criterion\\\\MapLocationDistance\\:\\:\\$boost type has no value type specified in iterable type array\\.$#" count: 1 @@ -18506,52 +18496,52 @@ parameters: path: src/lib/Persistence/Legacy/Exception/TypeGroupNotFound.php - - message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Content/ContentIdQueryBuilder.php - - message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Content/Section/IdQueryBuilder.php - - message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(int\\|string\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: array\\ given\\.$#" + message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(bool\\|float\\|int\\|string\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: array\\ given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/AncestorQueryBuilder.php - - message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/AncestorQueryBuilder.php - - message: "#^Parameter \\#2 \\$criterionValue of method Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Filter\\\\Doctrine\\\\FilteringQueryBuilder\\:\\:buildOperatorBasedCriterionConstraint\\(\\) expects array, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$criterionValue of method Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Filter\\\\Doctrine\\\\FilteringQueryBuilder\\:\\:buildOperatorBasedCriterionConstraint\\(\\) expects array, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/DepthQueryBuilder.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/IsMainLocationQueryBuilder.php - - message: "#^Parameter \\#2 \\$criterionValue of method Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Filter\\\\Doctrine\\\\FilteringQueryBuilder\\:\\:buildOperatorBasedCriterionConstraint\\(\\) expects array, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$criterionValue of method Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Filter\\\\Doctrine\\\\FilteringQueryBuilder\\:\\:buildOperatorBasedCriterionConstraint\\(\\) expects array, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/PriorityQueryBuilder.php - - message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(int\\|string\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: string given\\.$#" + message: "#^Parameter \\#1 \\$callback of function array_map expects \\(callable\\(bool\\|float\\|int\\|string\\)\\: mixed\\)\\|null, Closure\\(string\\)\\: string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/SubtreeQueryBuilder.php - - message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/SubtreeQueryBuilder.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 2 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/VisibilityQueryBuilder.php @@ -18561,7 +18551,7 @@ parameters: path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/VisibilityQueryBuilder.php - - message: "#^Parameter \\#2 \\$visibleFlag of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Filter\\\\CriterionQueryBuilder\\\\Location\\\\VisibilityQueryBuilder\\:\\:getVisibilityColumnsExpressions\\(\\) expects int, int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$visibleFlag of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Filter\\\\CriterionQueryBuilder\\\\Location\\\\VisibilityQueryBuilder\\:\\:getVisibilityColumnsExpressions\\(\\) expects int, bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/Location/VisibilityQueryBuilder.php @@ -18586,22 +18576,22 @@ parameters: path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/LogicalOrQueryBuilder.php - - message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/User/IsUserBasedQueryBuilder.php - - message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/User/IsUserEnabledQueryBuilder.php - - message: "#^Parameter \\#1 \\$value of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Filter\\\\CriterionQueryBuilder\\\\User\\\\BaseUserCriterionQueryBuilder\\:\\:transformCriterionValueForLikeExpression\\(\\) expects string, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$value of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Filter\\\\CriterionQueryBuilder\\\\User\\\\BaseUserCriterionQueryBuilder\\:\\:transformCriterionValueForLikeExpression\\(\\) expects string, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/User/UserEmailQueryBuilder.php - - message: "#^Parameter \\#1 \\$value of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Filter\\\\CriterionQueryBuilder\\\\User\\\\BaseUserCriterionQueryBuilder\\:\\:transformCriterionValueForLikeExpression\\(\\) expects string, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$value of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Filter\\\\CriterionQueryBuilder\\\\User\\\\BaseUserCriterionQueryBuilder\\:\\:transformCriterionValueForLikeExpression\\(\\) expects string, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Persistence/Legacy/Filter/CriterionQueryBuilder/User/UserLoginQueryBuilder.php @@ -22136,7 +22126,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/ContentTypeId.php - - message: "#^Argument of an invalid type array\\\\|bool\\|int\\|string supplied for foreach, only iterables are supported\\.$#" + message: "#^Argument of an invalid type array\\\\|bool\\|float\\|int\\|string supplied for foreach, only iterables are supported\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/ContentTypeIdentifier.php @@ -22146,7 +22136,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/ContentTypeIdentifier.php - - message: "#^Parameter \\#1 \\$identifier of method Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\Type\\\\Handler\\:\\:loadByIdentifier\\(\\) expects string, int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$identifier of method Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\Type\\\\Handler\\:\\:loadByIdentifier\\(\\) expects string, bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/ContentTypeIdentifier.php @@ -22196,7 +22186,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldBase.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldEmpty.php @@ -22251,12 +22241,12 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Converter.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler.php - - message: "#^Cannot access offset 1 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 1 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler.php @@ -22281,12 +22271,12 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler.php - - message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FieldValue\\\\Handler\\:\\:lowerCase\\(\\) expects string, int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FieldValue\\\\Handler\\:\\:lowerCase\\(\\) expects string, bool\\|float\\|int\\|string given\\.$#" count: 2 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler.php - - message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FieldValue\\\\Handler\\:\\:prepareLikeString\\(\\) expects string, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FieldValue\\\\Handler\\:\\:prepareLikeString\\(\\) expects string, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 2 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler.php @@ -22296,7 +22286,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler.php - - message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler.php @@ -22306,12 +22296,12 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler.php - - message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FieldValue\\\\Handler\\:\\:prepareLikeString\\(\\) expects string, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FieldValue\\\\Handler\\:\\:prepareLikeString\\(\\) expects string, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 2 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler/Collection.php - - message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FieldValue\\\\Handler\\:\\:lowerCase\\(\\) expects string, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FieldValue\\\\Handler\\:\\:lowerCase\\(\\) expects string, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FieldValue/Handler/Simple.php @@ -22351,7 +22341,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FullText.php - - message: "#^Parameter \\#2 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FullText\\:\\:getWordIdSubquery\\(\\) expects string, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$string of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FullText\\:\\:getWordIdSubquery\\(\\) expects string, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FullText.php @@ -22366,7 +22356,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/IsUserBased.php - - message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/IsUserBased.php @@ -22376,7 +22366,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/IsUserEnabled.php - - message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/IsUserEnabled.php @@ -22396,7 +22386,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/LanguageCode.php - - message: "#^Parameter \\#1 \\$languageCodes of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Language\\\\MaskGenerator\\:\\:generateLanguageMaskFromLanguageCodes\\(\\) expects array\\, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$languageCodes of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Language\\\\MaskGenerator\\:\\:generateLanguageMaskFromLanguageCodes\\(\\) expects array\\, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/LanguageCode.php @@ -22431,12 +22421,12 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/LogicalOr.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 2 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/MapLocationDistance.php - - message: "#^Cannot access offset 1 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 1 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 2 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/MapLocationDistance.php @@ -22481,7 +22471,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/MapLocationDistance.php - - message: "#^Parameter \\#3 \\$distance of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\MapLocationDistance\\:\\:getBoundingConstraints\\(\\) expects float, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#3 \\$distance of method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\MapLocationDistance\\:\\:getBoundingConstraints\\(\\) expects float, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/MapLocationDistance.php @@ -22526,7 +22516,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/UserEmail.php - - message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Persistence\\\\TransformationProcessor\\:\\:transformByGroup\\(\\) expects string, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Persistence\\\\TransformationProcessor\\:\\:transformByGroup\\(\\) expects string, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/UserEmail.php @@ -22541,7 +22531,7 @@ parameters: path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/UserLogin.php - - message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Persistence\\\\TransformationProcessor\\:\\:transformByGroup\\(\\) expects string, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$string of method Ibexa\\\\Core\\\\Persistence\\\\TransformationProcessor\\:\\:transformByGroup\\(\\) expects string, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/UserLogin.php @@ -22711,7 +22701,7 @@ parameters: path: src/lib/Search/Legacy/Content/Gateway.php - - message: "#^Argument of an invalid type array\\\\|bool\\|int\\|string supplied for foreach, only iterables are supported\\.$#" + message: "#^Argument of an invalid type array\\\\|bool\\|float\\|int\\|string supplied for foreach, only iterables are supported\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/Ancestor.php @@ -22720,6 +22710,11 @@ parameters: count: 1 path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/Ancestor.php + - + message: "#^Parameter \\#1 \\$string of function trim expects string, bool\\|float\\|int\\|string given\\.$#" + count: 1 + path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/Ancestor.php + - message: "#^Method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Gateway\\\\CriterionHandler\\\\LocationId\\:\\:handle\\(\\) has parameter \\$languageSettings with no value type specified in iterable type array\\.$#" count: 1 @@ -22736,7 +22731,7 @@ parameters: path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/ParentLocationId.php - - message: "#^Argument of an invalid type array\\\\|bool\\|int\\|string supplied for foreach, only iterables are supported\\.$#" + message: "#^Argument of an invalid type array\\\\|bool\\|float\\|int\\|string supplied for foreach, only iterables are supported\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/PermissionSubtree.php @@ -22746,7 +22741,7 @@ parameters: path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/PermissionSubtree.php - - message: "#^Argument of an invalid type array\\\\|bool\\|int\\|string supplied for foreach, only iterables are supported\\.$#" + message: "#^Argument of an invalid type array\\\\|bool\\|float\\|int\\|string supplied for foreach, only iterables are supported\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/Subtree.php @@ -22756,7 +22751,7 @@ parameters: path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/Subtree.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Gateway/CriterionHandler/Visibility.php @@ -22966,7 +22961,7 @@ parameters: path: src/lib/Search/Legacy/Content/Location/Gateway.php - - message: "#^Argument of an invalid type array\\\\|bool\\|int\\|string supplied for foreach, only iterables are supported\\.$#" + message: "#^Argument of an invalid type array\\\\|bool\\|float\\|int\\|string supplied for foreach, only iterables are supported\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Ancestor.php @@ -22976,12 +22971,17 @@ parameters: path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Ancestor.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Parameter \\#1 \\$string of function trim expects string, bool\\|float\\|int\\|string given\\.$#" + count: 1 + path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Ancestor.php + + - + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/Depth.php - - message: "#^Cannot access offset 1 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 1 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/Depth.php @@ -22996,17 +22996,17 @@ parameters: path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/Depth.php - - message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/Depth.php - - message: "#^Parameter \\#2 \\$y of method Doctrine\\\\DBAL\\\\Query\\\\Expression\\\\ExpressionBuilder\\:\\:in\\(\\) expects array\\\\|string, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#2 \\$y of method Doctrine\\\\DBAL\\\\Query\\\\Expression\\\\ExpressionBuilder\\:\\:in\\(\\) expects array\\\\|string, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/Depth.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 2 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/IsMainLocation.php @@ -23016,12 +23016,12 @@ parameters: path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/IsMainLocation.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/Priority.php - - message: "#^Cannot access offset 1 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 1 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/Priority.php @@ -23036,7 +23036,7 @@ parameters: path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/Priority.php - - message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|int\\|string given\\.$#" + message: "#^Parameter \\#1 \\$array of function reset expects array\\|object, array\\\\|bool\\|float\\|int\\|string given\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Location/Priority.php @@ -23056,7 +23056,7 @@ parameters: path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/ParentLocationId.php - - message: "#^Argument of an invalid type array\\\\|bool\\|int\\|string supplied for foreach, only iterables are supported\\.$#" + message: "#^Argument of an invalid type array\\\\|bool\\|float\\|int\\|string supplied for foreach, only iterables are supported\\.$#" count: 1 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Subtree.php @@ -23066,7 +23066,7 @@ parameters: path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Subtree.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 2 path: src/lib/Search/Legacy/Content/Location/Gateway/CriterionHandler/Visibility.php @@ -37166,7 +37166,7 @@ parameters: path: tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php - - message: "#^Cannot access offset 0 on array\\\\|bool\\|int\\|string\\.$#" + message: "#^Cannot access offset 0 on array\\\\|bool\\|float\\|int\\|string\\.$#" count: 1 path: tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php @@ -37181,7 +37181,7 @@ parameters: path: tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php - - message: "#^Part \\$criterion\\-\\>value \\(array\\\\|bool\\|int\\|string\\) of encapsed string cannot be cast to string\\.$#" + message: "#^Part \\$criterion\\-\\>value \\(array\\\\|bool\\|float\\|int\\|string\\) of encapsed string cannot be cast to string\\.$#" count: 1 path: tests/integration/Core/Repository/SearchService/RemoteIdIndexingTest.php