From b42a78901cd8c469dafbd8e923d4d150b49e6c29 Mon Sep 17 00:00:00 2001 From: Andrew Longosz Date: Mon, 15 Jul 2024 11:46:30 +0200 Subject: [PATCH] [PHPStan] Aligned baseline with the changes --- phpstan-baseline.neon | 325 ------------------------------------------ 1 file changed, 325 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index d3b2c62cd2..a3a5b4a8fe 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -30,11 +30,6 @@ parameters: count: 1 path: src/bundle/Core/Cache/Warmer/ProxyCacheWarmer.php - - - message: "#^Return type \\(void\\) of method Ibexa\\\\Bundle\\\\Core\\\\Cache\\\\Warmer\\\\ProxyCacheWarmer\\:\\:warmUp\\(\\) should be compatible with return type \\(array\\\\) of method Symfony\\\\Component\\\\HttpKernel\\\\CacheWarmer\\\\WarmableInterface\\:\\:warmUp\\(\\)$#" - count: 2 - path: src/bundle/Core/Cache/Warmer/ProxyCacheWarmer.php - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Command\\\\CheckURLsCommand\\:\\:getTotalCount\\(\\) should return int but returns int\\|null\\.$#" count: 1 @@ -365,21 +360,11 @@ parameters: count: 1 path: src/bundle/Core/Command/UpdateTimestampsToUTCCommand.php - - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Converter\\\\ContentParamConverter\\:\\:getSupportedClass\\(\\) has no return type specified\\.$#" - count: 1 - path: src/bundle/Core/Converter/ContentParamConverter.php - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Converter\\\\ContentParamConverter\\:\\:loadValueObject\\(\\) has parameter \\$id with no type specified\\.$#" count: 1 path: src/bundle/Core/Converter/ContentParamConverter.php - - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Converter\\\\LocationParamConverter\\:\\:getSupportedClass\\(\\) has no return type specified\\.$#" - count: 1 - path: src/bundle/Core/Converter/LocationParamConverter.php - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Converter\\\\LocationParamConverter\\:\\:loadValueObject\\(\\) has parameter \\$id with no type specified\\.$#" count: 1 @@ -1720,11 +1705,6 @@ parameters: count: 1 path: src/bundle/Core/DependencyInjection/IbexaCoreExtension.php - - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\DependencyInjection\\\\IbexaCoreExtension\\:\\:getConfiguration\\(\\) has parameter \\$config with no value type specified in iterable type array\\.$#" - count: 1 - path: src/bundle/Core/DependencyInjection/IbexaCoreExtension.php - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\DependencyInjection\\\\IbexaCoreExtension\\:\\:handleCache\\(\\) has no return type specified\\.$#" count: 1 @@ -2265,11 +2245,6 @@ parameters: count: 1 path: src/bundle/Core/Features/Context/BasicContentContext.php - - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Features\\\\Context\\\\BasicContentContext\\:\\:getTitleFromPath\\(\\) has no return type specified\\.$#" - count: 1 - path: src/bundle/Core/Features/Context/BasicContentContext.php - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Features\\\\Context\\\\BasicContentContext\\:\\:getTitleFromPath\\(\\) has parameter \\$path with no type specified\\.$#" count: 1 @@ -3310,11 +3285,6 @@ parameters: count: 1 path: src/bundle/Core/Imagine/AliasGenerator.php - - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\Imagine\\\\AliasGenerator\\:\\:supportsValue\\(\\) has no return type specified\\.$#" - count: 1 - path: src/bundle/Core/Imagine/AliasGenerator.php - - message: "#^Parameter \\#1 \\$image of method Ibexa\\\\Bundle\\\\Core\\\\Imagine\\\\AliasGenerator\\:\\:applyFilter\\(\\) expects Liip\\\\ImagineBundle\\\\Binary\\\\BinaryInterface, Liip\\\\ImagineBundle\\\\Binary\\\\BinaryInterface\\|string given\\.$#" count: 1 @@ -3965,11 +3935,6 @@ parameters: count: 1 path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php - - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\URLChecker\\\\Handler\\\\HTTPHandler\\:\\:isSuccessful\\(\\) has no return type specified\\.$#" - count: 1 - path: src/bundle/Core/URLChecker/Handler/HTTPHandler.php - - message: "#^Method Ibexa\\\\Bundle\\\\Core\\\\URLChecker\\\\Handler\\\\HTTPHandler\\:\\:isSuccessful\\(\\) has parameter \\$statusCode with no type specified\\.$#" count: 1 @@ -4795,11 +4760,6 @@ parameters: count: 1 path: src/bundle/RepositoryInstaller/Command/InstallPlatformCommand.php - - - message: "#^Method Ibexa\\\\Bundle\\\\RepositoryInstaller\\\\Command\\\\ValidatePasswordHashesCommand\\:\\:configure\\(\\) has no return type specified\\.$#" - count: 1 - path: src/bundle/RepositoryInstaller/Command/ValidatePasswordHashesCommand.php - - message: "#^Method Ibexa\\\\Bundle\\\\RepositoryInstaller\\\\DependencyInjection\\\\Compiler\\\\InstallerTagPass\\:\\:process\\(\\) has no return type specified\\.$#" count: 1 @@ -8725,11 +8685,6 @@ parameters: count: 1 path: src/lib/FieldType/BinaryBase/BinaryBaseStorage.php - - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\BinaryBase\\\\BinaryBaseStorage\\:\\:getIndexData\\(\\) should return array\\ but return statement is missing\\.$#" - count: 1 - path: src/lib/FieldType/BinaryBase/BinaryBaseStorage.php - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\BinaryBase\\\\BinaryBaseStorage\\:\\:removeOldFile\\(\\) has no return type specified\\.$#" count: 1 @@ -8895,11 +8850,6 @@ parameters: count: 1 path: src/lib/FieldType/BinaryBase/BinaryBaseStorage/Gateway/DoctrineStorage.php - - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\BinaryBase\\\\PathGenerator\\\\LegacyPathGenerator\\:\\:getStoragePathForField\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/FieldType/BinaryBase/PathGenerator/LegacyPathGenerator.php - - message: "#^Parameter \\#3 \\$length of function substr expects int\\|null, int\\<0, max\\>\\|false given\\.$#" count: 1 @@ -9385,11 +9335,6 @@ parameters: count: 1 path: src/lib/FieldType/Image/ImageStorage.php - - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\Image\\\\ImageStorage\\:\\:getIndexData\\(\\) should return array\\ but returns null\\.$#" - count: 1 - path: src/lib/FieldType/Image/ImageStorage.php - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\Image\\\\ImageStorage\\:\\:storeFieldData\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 @@ -10025,11 +9970,6 @@ parameters: count: 1 path: src/lib/FieldType/NullStorage.php - - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\NullStorage\\:\\:getIndexData\\(\\) should return array\\ but returns false\\.$#" - count: 1 - path: src/lib/FieldType/NullStorage.php - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\NullStorage\\:\\:storeFieldData\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 @@ -10265,11 +10205,6 @@ parameters: count: 1 path: src/lib/FieldType/Url/UrlStorage.php - - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\Url\\\\UrlStorage\\:\\:getIndexData\\(\\) should return array\\ but return statement is missing\\.$#" - count: 1 - path: src/lib/FieldType/Url/UrlStorage.php - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\Url\\\\UrlStorage\\:\\:storeFieldData\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 @@ -10325,11 +10260,6 @@ parameters: count: 1 path: src/lib/FieldType/Url/UrlStorage/Gateway/DoctrineStorage.php - - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\Url\\\\UrlStorage\\\\Gateway\\\\DoctrineStorage\\:\\:insertUrl\\(\\) should return string but returns int\\.$#" - count: 1 - path: src/lib/FieldType/Url/UrlStorage/Gateway/DoctrineStorage.php - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\Url\\\\UrlStorage\\\\Gateway\\\\DoctrineStorage\\:\\:linkUrl\\(\\) has no return type specified\\.$#" count: 1 @@ -10440,11 +10370,6 @@ parameters: count: 1 path: src/lib/FieldType/User/UserStorage.php - - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\User\\\\UserStorage\\:\\:getIndexData\\(\\) should return array\\ but return statement is missing\\.$#" - count: 1 - path: src/lib/FieldType/User/UserStorage.php - - message: "#^Method Ibexa\\\\Core\\\\FieldType\\\\User\\\\UserStorage\\:\\:storeFieldData\\(\\) has parameter \\$context with no value type specified in iterable type array\\.$#" count: 1 @@ -11070,16 +10995,6 @@ parameters: count: 1 path: src/lib/IO/MetadataHandler/ImageSize.php - - - message: "#^Method Ibexa\\\\Core\\\\IO\\\\MimeTypeDetector\\\\FileInfo\\:\\:getFromBuffer\\(\\) should return string but returns string\\|false\\.$#" - count: 1 - path: src/lib/IO/MimeTypeDetector/FileInfo.php - - - - message: "#^Method Ibexa\\\\Core\\\\IO\\\\MimeTypeDetector\\\\FileInfo\\:\\:getFromPath\\(\\) should return string but returns string\\|false\\.$#" - count: 1 - path: src/lib/IO/MimeTypeDetector/FileInfo.php - - message: "#^Property Ibexa\\\\Core\\\\IO\\\\MimeTypeDetector\\\\FileInfo\\:\\:\\$fileInfo \\(finfo\\) in isset\\(\\) is not nullable\\.$#" count: 1 @@ -11650,11 +11565,6 @@ parameters: count: 1 path: src/lib/MVC/Symfony/FieldType/BinaryBase/ContentDownloadUrlGenerator.php - - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\FieldType\\\\BinaryBase\\\\ContentDownloadUrlGenerator\\:\\:getStoragePathForField\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/MVC/Symfony/FieldType/BinaryBase/ContentDownloadUrlGenerator.php - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\FieldType\\\\ImageAsset\\\\ParameterProvider\\:\\:getViewParameters\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -12260,21 +12170,11 @@ parameters: count: 1 path: src/lib/MVC/Symfony/Security/Authorization/Voter/CoreVoter.php - - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Security\\\\Authorization\\\\Voter\\\\ValueObjectVoter\\:\\:supportsAttribute\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/MVC/Symfony/Security/Authorization/Voter/ValueObjectVoter.php - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Security\\\\Authorization\\\\Voter\\\\ValueObjectVoter\\:\\:supportsAttribute\\(\\) has parameter \\$attribute with no type specified\\.$#" count: 1 path: src/lib/MVC/Symfony/Security/Authorization/Voter/ValueObjectVoter.php - - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Security\\\\Authorization\\\\Voter\\\\ValueObjectVoter\\:\\:supportsClass\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/MVC/Symfony/Security/Authorization/Voter/ValueObjectVoter.php - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Security\\\\Authorization\\\\Voter\\\\ValueObjectVoter\\:\\:supportsClass\\(\\) has parameter \\$class with no type specified\\.$#" count: 1 @@ -12675,11 +12575,6 @@ parameters: count: 1 path: src/lib/MVC/Symfony/SiteAccess/Matcher/URIText.php - - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\Matcher\\\\URIText\\:\\:analyseURI\\(\\) should return string but returns string\\|null\\.$#" - count: 1 - path: src/lib/MVC/Symfony/SiteAccess/Matcher/URIText.php - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\SiteAccess\\\\Matcher\\\\URIText\\:\\:setRequest\\(\\) has no return type specified\\.$#" count: 1 @@ -13055,11 +12950,6 @@ parameters: count: 1 path: src/lib/MVC/Symfony/Templating/Twig/Extension/FileSizeExtension.php - - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Templating\\\\Twig\\\\Extension\\\\FileSizeExtension\\:\\:sizeFilter\\(\\) should return string but returns string\\|false\\.$#" - count: 1 - path: src/lib/MVC/Symfony/Templating/Twig/Extension/FileSizeExtension.php - - message: "#^Property Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Templating\\\\Twig\\\\Extension\\\\FileSizeExtension\\:\\:\\$configResolver has no type specified\\.$#" count: 1 @@ -13205,16 +13095,6 @@ parameters: count: 1 path: src/lib/MVC/Symfony/Templating/Twig/FieldBlockRenderer.php - - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Translation\\\\CatalogueMapperFileWriter\\:\\:getEnglishFilePath\\(\\) has parameter \\$filePath with no type specified\\.$#" - count: 1 - path: src/lib/MVC/Symfony/Translation/CatalogueMapperFileWriter.php - - - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Translation\\\\CatalogueMapperFileWriter\\:\\:hasEnglishCatalogue\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/MVC/Symfony/Translation/CatalogueMapperFileWriter.php - - message: "#^Method Ibexa\\\\Core\\\\MVC\\\\Symfony\\\\Translation\\\\CatalogueMapperFileWriter\\:\\:hasEnglishCatalogue\\(\\) has parameter \\$foreignFilePath with no type specified\\.$#" count: 1 @@ -15000,11 +14880,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/AuthorConverter.php - - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\FieldValue\\\\Converter\\\\AuthorConverter\\:\\:generateXmlString\\(\\) should return string but returns string\\|false\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/AuthorConverter.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\FieldValue\\\\Converter\\\\AuthorConverter\\:\\:restoreValueFromXmlString\\(\\) should return array\\ but returns array\\, array\\\\>\\.$#" count: 1 @@ -15125,11 +15000,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/DateAndTimeConverter.php - - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\FieldValue\\\\Converter\\\\DateAndTimeConverter\\:\\:generateDateIntervalXML\\(\\) should return string but returns string\\|false\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/DateAndTimeConverter.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\FieldValue\\\\Converter\\\\DateAndTimeConverter\\:\\:getDateIntervalFromXML\\(\\) should return DateInterval but empty return statement found\\.$#" count: 1 @@ -15490,11 +15360,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/MapLocationConverter.php - - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\FieldValue\\\\Converter\\\\MediaConverter\\:\\:getIndexColumn\\(\\) should return string but returns false\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/MediaConverter.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\FieldValue\\\\Converter\\\\MediaConverter\\:\\:toFieldDefinition\\(\\) has no return type specified\\.$#" count: 1 @@ -15505,11 +15370,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/MediaConverter.php - - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\FieldValue\\\\Converter\\\\NullConverter\\:\\:getIndexColumn\\(\\) should return string but returns false\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Content/FieldValue/Converter/NullConverter.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\FieldValue\\\\Converter\\\\NullConverter\\:\\:toFieldDefinition\\(\\) has no return type specified\\.$#" count: 1 @@ -16200,11 +16060,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/Handler.php - - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Handler\\:\\:loadVersionInfo\\(\\) should return Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\VersionInfo but returns Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\VersionInfo\\|false\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Content/Handler.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Handler\\:\\:removeRawContent\\(\\) has no return type specified\\.$#" count: 1 @@ -16220,11 +16075,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/Handler.php - - - message: "#^Parameter \\#1 \\$contentId of method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Gateway\\:\\:loadVersionInfo\\(\\) expects int, int\\|string given\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Content/Handler.php - - message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Persistence\\\\Content\\\\MetadataUpdateStruct\\:\\:\\$mainLanguageId \\(int\\) in isset\\(\\) is not nullable\\.$#" count: 1 @@ -17370,11 +17220,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/Type/Handler.php - - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Type\\\\Handler\\:\\:link\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Content/Type/Handler.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Type\\\\Handler\\:\\:loadContentTypeList\\(\\) has parameter \\$contentTypeIds with no value type specified in iterable type array\\.$#" count: 1 @@ -17395,11 +17240,6 @@ parameters: count: 1 path: src/lib/Persistence/Legacy/Content/Type/Handler.php - - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Type\\\\Handler\\:\\:unlink\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/Persistence/Legacy/Content/Type/Handler.php - - message: "#^Method Ibexa\\\\Core\\\\Persistence\\\\Legacy\\\\Content\\\\Type\\\\Handler\\:\\:updateFieldDefinition\\(\\) has no return type specified\\.$#" count: 1 @@ -22055,16 +21895,6 @@ parameters: count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FullText.php - - - message: "#^Method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FullText\\:\\:tokenizeString\\(\\) return type has no value type specified in iterable type array\\.$#" - count: 1 - path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/FullText.php - - - - message: "#^Method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\FullText\\:\\:tokenizeString\\(\\) should return array but returns array\\\\|false\\.$#" - count: 1 - 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\\|float\\|int\\|string given\\.$#" count: 1 @@ -22185,11 +22015,6 @@ parameters: count: 1 path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/MapLocationDistance.php - - - message: "#^Method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\MapLocationDistance\\:\\:kilometersToDegrees\\(\\) has no return type specified\\.$#" - count: 1 - path: src/lib/Search/Legacy/Content/Common/Gateway/CriterionHandler/MapLocationDistance.php - - message: "#^Method Ibexa\\\\Core\\\\Search\\\\Legacy\\\\Content\\\\Common\\\\Gateway\\\\CriterionHandler\\\\MapLocationDistance\\:\\:kilometersToDegrees\\(\\) has parameter \\$kilometers with no type specified\\.$#" count: 1 @@ -23425,11 +23250,6 @@ parameters: count: 1 path: tests/bundle/Core/DependencyInjection/Compiler/SlugConverterConfigurationPassTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\Core\\\\DependencyInjection\\\\Compiler\\\\TranslationCollectorPassTest\\:\\:normalizePath\\(\\) has parameter \\$path with no type specified\\.$#" - count: 1 - path: tests/bundle/Core/DependencyInjection/Compiler/TranslationCollectorPassTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\Core\\\\DependencyInjection\\\\Compiler\\\\TranslationCollectorPassTest\\:\\:testTranslationCollector\\(\\) has parameter \\$availableTranslations with no value type specified in iterable type array\\.$#" count: 1 @@ -26200,21 +26020,6 @@ parameters: count: 1 path: tests/bundle/IO/DependencyInjection/ConfigurationFactory/BaseFlysystemTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\IO\\\\DependencyInjection\\\\ConfigurationFactory\\\\BinarydataHandler\\\\FlysystemTest\\:\\:provideExpectedParentServiceId\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/bundle/IO/DependencyInjection/ConfigurationFactory/BinarydataHandler/FlysystemTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\IO\\\\DependencyInjection\\\\ConfigurationFactory\\\\MetadataHandler\\\\FlysystemTest\\:\\:provideExpectedParentServiceId\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/bundle/IO/DependencyInjection/ConfigurationFactory/MetadataHandler/FlysystemTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\IO\\\\DependencyInjection\\\\ConfigurationFactory\\\\MetadataHandler\\\\LegacyDFSClusterTest\\:\\:provideExpectedParentServiceId\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/bundle/IO/DependencyInjection/ConfigurationFactory/MetadataHandler/LegacyDFSClusterTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\IO\\\\DependencyInjection\\\\ConfigurationFactory\\\\MetadataHandler\\\\LegacyDFSClusterTest\\:\\:provideHandlerConfiguration\\(\\) has no return type specified\\.$#" count: 1 @@ -26240,11 +26045,6 @@ parameters: count: 1 path: tests/bundle/IO/DependencyInjection/ConfigurationFactoryTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\IO\\\\DependencyInjection\\\\ConfigurationFactoryTest\\:\\:registerHandler\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/bundle/IO/DependencyInjection/ConfigurationFactoryTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Bundle\\\\IO\\\\DependencyInjection\\\\ConfigurationFactoryTest\\:\\:registerHandler\\(\\) has parameter \\$name with no type specified\\.$#" count: 1 @@ -35325,11 +35125,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/Regression/EZP22408DeleteRelatedObjectTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\Regression\\\\EZP22408DeleteRelatedObjectTest\\:\\:getMainLanguageCode\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/integration/Core/Repository/Regression/EZP22408DeleteRelatedObjectTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Integration\\\\Core\\\\Repository\\\\Regression\\\\EZP22408DeleteRelatedObjectTest\\:\\:testRelationListIsUpdatedWhenRelatedObjectIsDeleted\\(\\) has no return type specified\\.$#" count: 1 @@ -40150,11 +39945,6 @@ parameters: count: 1 path: tests/lib/Base/Container/Compiler/Stubs/GatewayBasedStorageHandler.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Base\\\\Container\\\\Compiler\\\\Stubs\\\\GatewayBasedStorageHandler\\:\\:getIndexData\\(\\) should return array\\ but return statement is missing\\.$#" - count: 1 - path: tests/lib/Base/Container/Compiler/Stubs/GatewayBasedStorageHandler.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Base\\\\Container\\\\Compiler\\\\Stubs\\\\GatewayBasedStorageHandler\\:\\:hasFieldData\\(\\) should return bool but return statement is missing\\.$#" count: 1 @@ -43115,11 +42905,6 @@ parameters: count: 1 path: tests/lib/FieldType/ImageTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\ImageTest\\:\\:getImageInputPath\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/FieldType/ImageTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\FieldType\\\\ImageTest\\:\\:getImageValidatorMock\\(\\) has no return type specified\\.$#" count: 1 @@ -44630,11 +44415,6 @@ parameters: count: 1 path: tests/lib/IO/MetadataHandler/ImageSizeTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\IO\\\\MimeTypeDetector\\\\FileInfoTest\\:\\:getFixture\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/IO/MimeTypeDetector/FileInfoTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\IO\\\\MimeTypeDetector\\\\FileInfoTest\\:\\:testGetFromBuffer\\(\\) has no return type specified\\.$#" count: 1 @@ -48160,11 +47940,6 @@ parameters: count: 1 path: tests/lib/MVC/Symfony/Templating/Twig/Extension/FieldRenderingExtensionIntegrationTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\Templating\\\\Twig\\\\Extension\\\\FieldRenderingExtensionIntegrationTest\\:\\:getTemplatePath\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/MVC/Symfony/Templating/Twig/Extension/FieldRenderingExtensionIntegrationTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\MVC\\\\Symfony\\\\Templating\\\\Twig\\\\Extension\\\\FieldRenderingExtensionIntegrationTest\\:\\:getTemplatePath\\(\\) has parameter \\$tpl with no type specified\\.$#" count: 1 @@ -55390,11 +55165,6 @@ parameters: count: 1 path: tests/lib/Persistence/Limitation/Target/Builder/VersionBuilderTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Persistence\\\\TransformationProcessor\\\\TransformationProcessorDefinitionBasedParserTest\\:\\:getTestFiles\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Persistence/TransformationProcessor/TransformationProcessorDefinitionBasedParserTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Persistence\\\\TransformationProcessor\\\\TransformationProcessorDefinitionBasedParserTest\\:\\:testParse\\(\\) has no return type specified\\.$#" count: 1 @@ -55405,11 +55175,6 @@ parameters: count: 1 path: tests/lib/Persistence/TransformationProcessor/TransformationProcessorDefinitionBasedParserTest.php - - - message: "#^Parameter \\#2 \\$array of function array_map expects array, array\\\\|false given\\.$#" - count: 1 - path: tests/lib/Persistence/TransformationProcessor/TransformationProcessorDefinitionBasedParserTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Persistence\\\\TransformationProcessor\\\\TransformationProcessorDefinitionBasedTest\\:\\:getProcessor\\(\\) has no return type specified\\.$#" count: 1 @@ -60465,16 +60230,6 @@ parameters: count: 1 path: tests/lib/Repository/SiteAccessAware/AbstractServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\ContentServiceTest\\:\\:getAPIServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/ContentServiceTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\ContentServiceTest\\:\\:getSiteAccessAwareServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/ContentServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\ContentServiceTest\\:\\:providerForLanguagesLookupMethods\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -60485,16 +60240,6 @@ parameters: count: 1 path: tests/lib/Repository/SiteAccessAware/ContentServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\ContentTypeServiceTest\\:\\:getAPIServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/ContentTypeServiceTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\ContentTypeServiceTest\\:\\:getSiteAccessAwareServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/ContentTypeServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\ContentTypeServiceTest\\:\\:providerForLanguagesLookupMethods\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -60530,16 +60275,6 @@ parameters: count: 1 path: tests/lib/Repository/SiteAccessAware/Language/LanguageResolverTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\LanguageServiceTest\\:\\:getAPIServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/LanguageServiceTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\LanguageServiceTest\\:\\:getSiteAccessAwareServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/LanguageServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\LanguageServiceTest\\:\\:providerForLanguagesLookupMethods\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -60550,16 +60285,6 @@ parameters: count: 1 path: tests/lib/Repository/SiteAccessAware/LanguageServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\LocationServiceTest\\:\\:getAPIServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/LocationServiceTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\LocationServiceTest\\:\\:getSiteAccessAwareServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/LocationServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\LocationServiceTest\\:\\:providerForLanguagesLookupMethods\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -60570,16 +60295,6 @@ parameters: count: 1 path: tests/lib/Repository/SiteAccessAware/LocationServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\ObjectStateServiceTest\\:\\:getAPIServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/ObjectStateServiceTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\ObjectStateServiceTest\\:\\:getSiteAccessAwareServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/ObjectStateServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\ObjectStateServiceTest\\:\\:providerForLanguagesLookupMethods\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -60590,16 +60305,6 @@ parameters: count: 1 path: tests/lib/Repository/SiteAccessAware/ObjectStateServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\SearchServiceTest\\:\\:getAPIServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/SearchServiceTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\SearchServiceTest\\:\\:getSiteAccessAwareServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/SearchServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\SearchServiceTest\\:\\:providerForLanguagesLookupMethods\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -60650,16 +60355,6 @@ parameters: count: 1 path: tests/lib/Repository/SiteAccessAware/SearchServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\TrashServiceTest\\:\\:getAPIServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/TrashServiceTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\TrashServiceTest\\:\\:getSiteAccessAwareServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/TrashServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\TrashServiceTest\\:\\:providerForLanguagesLookupMethods\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -60670,16 +60365,6 @@ parameters: count: 1 path: tests/lib/Repository/SiteAccessAware/TrashServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\UrlAliasServiceTest\\:\\:getAPIServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/UrlAliasServiceTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\UrlAliasServiceTest\\:\\:getSiteAccessAwareServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/UrlAliasServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\UrlAliasServiceTest\\:\\:providerForLanguagesLookupMethods\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1 @@ -60720,16 +60405,6 @@ parameters: count: 1 path: tests/lib/Repository/SiteAccessAware/UrlAliasServiceTest.php - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\UserServiceTest\\:\\:getAPIServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/UserServiceTest.php - - - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\UserServiceTest\\:\\:getSiteAccessAwareServiceClassName\\(\\) has no return type specified\\.$#" - count: 1 - path: tests/lib/Repository/SiteAccessAware/UserServiceTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\Repository\\\\SiteAccessAware\\\\UserServiceTest\\:\\:providerForLanguagesLookupMethods\\(\\) return type has no value type specified in iterable type array\\.$#" count: 1