diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 8435e9abb6..36def1de4f 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -61965,11 +61965,6 @@ parameters: count: 1 path: tests/lib/Repository/Values/ContentType/FieldDefinitionCollectionTest.php - - - message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertContainsEquals\\(\\) with Ibexa\\\\Contracts\\\\Core\\\\Repository\\\\Values\\\\Content\\\\Query\\\\SortClause\\\\Location\\\\Priority and array\\{\\} will always evaluate to false\\.$#" - count: 1 - path: tests/lib/Repository/Values/Filter/FilterTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\Values\\\\Filter\\\\FilterTest\\:\\:getComplexFilterTestData\\(\\) return type has no value type specified in iterable type iterable\\.$#" count: 1 diff --git a/src/contracts/Persistence/Content/UrlAlias/Handler.php b/src/contracts/Persistence/Content/UrlAlias/Handler.php index e4e4be40a8..1899770d73 100644 --- a/src/contracts/Persistence/Content/UrlAlias/Handler.php +++ b/src/contracts/Persistence/Content/UrlAlias/Handler.php @@ -204,7 +204,7 @@ public function deleteCorruptedUrlAliases(); * * @param int $locationId * - * @throws \Ibexa\Core\Base\Exceptions\BadStateException + * @throws \Ibexa\Contracts\Core\Repository\Exceptions\BadStateException */ public function repairBrokenUrlAliasesForLocation(int $locationId); } diff --git a/src/contracts/Repository/UserPreferenceService.php b/src/contracts/Repository/UserPreferenceService.php index c5400fb5e1..62ad0b2925 100644 --- a/src/contracts/Repository/UserPreferenceService.php +++ b/src/contracts/Repository/UserPreferenceService.php @@ -24,7 +24,7 @@ interface UserPreferenceService * @param \Ibexa\Contracts\Core\Repository\Values\UserPreference\UserPreferenceSetStruct[] $userPreferenceSetStructs * * @throws \Ibexa\Contracts\Core\Repository\Exceptions\UnauthorizedException If the current user user is not allowed to set user preference - * @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentException If the $userPreferenceSetStruct is invalid + * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException If the $userPreferenceSetStruct is invalid */ public function setUserPreference(array $userPreferenceSetStructs): void; diff --git a/src/lib/Base/Container/ApiLoader/RepositoryFactory.php b/src/lib/Base/Container/ApiLoader/RepositoryFactory.php index 91de80f53a..c4b1cbb17e 100644 --- a/src/lib/Base/Container/ApiLoader/RepositoryFactory.php +++ b/src/lib/Base/Container/ApiLoader/RepositoryFactory.php @@ -124,7 +124,7 @@ public function buildRepository( * @param \Ibexa\Contracts\Core\Repository\Repository $repository * @param string $serviceName * - * @throws \Ibexa\Core\Base\Exceptions\InvalidArgumentException + * @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException * * @return mixed */