diff --git a/phpstan-baseline-7.4.neon b/phpstan-baseline-7.4.neon index 5e91304dbf..77a0351af0 100644 --- a/phpstan-baseline-7.4.neon +++ b/phpstan-baseline-7.4.neon @@ -25,21 +25,6 @@ parameters: count: 1 path: src/bundle/Core/Command/CleanupVersionsCommand.php - - - message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/Command/ResizeOriginalImagesCommand.php - - - - message: "#^Parameter \\#1 \\$fp of function fwrite expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/Command/ResizeOriginalImagesCommand.php - - - - message: "#^Parameter \\#1 \\$fp of function stream_get_meta_data expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/Command/ResizeOriginalImagesCommand.php - - message: "#^Parameter \\#2 \\$str of function fwrite expects string, string\\|false given\\.$#" count: 1 @@ -95,36 +80,11 @@ parameters: count: 1 path: src/bundle/Core/Imagine/Cache/AliasGeneratorDecorator.php - - - message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/Imagine/IORepositoryResolver.php - - - - message: "#^Parameter \\#1 \\$fp of function fwrite expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/Imagine/IORepositoryResolver.php - - - - message: "#^Parameter \\#1 \\$fp of function stream_get_meta_data expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/Imagine/IORepositoryResolver.php - - message: "#^Parameter \\#2 \\$str of function fwrite expects string, string\\|false given\\.$#" count: 1 path: src/bundle/Core/Imagine/IORepositoryResolver.php - - - message: "#^Parameter \\#1 \\$fp of function stream_get_meta_data expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/Imagine/PlaceholderProvider/GenericProvider.php - - - - message: "#^Parameter \\#1 \\$fp of function stream_get_meta_data expects resource, resource\\|false given\\.$#" - count: 1 - path: src/bundle/Core/Imagine/PlaceholderProvider/RemoteProvider.php - - message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#" count: 1 @@ -490,11 +450,6 @@ parameters: count: 1 path: tests/integration/Core/Repository/Values/User/Limitation/BaseLimitationTest.php - - - message: "#^Parameter \\#1 \\$fp of function fclose expects resource, resource\\|false given\\.$#" - count: 1 - path: tests/lib/IO/Flysystem/Adapter/DynamicPathFilesystemAdapterDecoratorTest.php - - message: "#^Parameter \\#1 \\$str of function md5 expects string, float given\\.$#" count: 1 diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 6f22de7e46..d73ef20c1e 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -7640,11 +7640,6 @@ parameters: count: 1 path: src/contracts/Test/Repository/SetupFactory/Legacy.php - - - message: "#^Method Ibexa\\\\Contracts\\\\Core\\\\Test\\\\Repository\\\\SetupFactory\\\\Legacy\\:\\:createTemporaryDirectory\\(\\) should return string but returns string\\|false\\.$#" - count: 1 - path: src/contracts/Test/Repository/SetupFactory/Legacy.php - - message: "#^Method Ibexa\\\\Contracts\\\\Core\\\\Test\\\\Repository\\\\SetupFactory\\\\Legacy\\:\\:externalBuildContainer\\(\\) has no return type specified\\.$#" count: 1 @@ -7670,16 +7665,6 @@ parameters: count: 1 path: src/contracts/Test/Repository/SetupFactory/Legacy.php - - - message: "#^Parameter \\#1 \\$dirs of method Symfony\\\\Component\\\\Filesystem\\\\Filesystem\\:\\:mkdir\\(\\) expects iterable\\|string, string\\|false given\\.$#" - count: 1 - path: src/contracts/Test/Repository/SetupFactory/Legacy.php - - - - message: "#^Parameter \\#1 \\$filename of function unlink expects string, string\\|false given\\.$#" - count: 1 - path: src/contracts/Test/Repository/SetupFactory/Legacy.php - - message: "#^Property Ibexa\\\\Contracts\\\\Core\\\\Test\\\\Repository\\\\SetupFactory\\\\Legacy\\:\\:\\$connection \\(Doctrine\\\\DBAL\\\\Connection\\) does not accept object\\.$#" count: 1 @@ -44695,11 +44680,6 @@ parameters: count: 1 path: tests/lib/IO/FilePathNormalizer/FlysystemTest.php - - - message: "#^Parameter \\#2 \\$contents of method League\\\\Flysystem\\\\FilesystemAdapter\\:\\:writeStream\\(\\) expects resource, resource\\|false given\\.$#" - count: 1 - path: tests/lib/IO/Flysystem/Adapter/DynamicPathFilesystemAdapterDecoratorTest.php - - message: "#^Method Ibexa\\\\Tests\\\\Core\\\\IO\\\\Flysystem\\\\VisibilityConverter\\\\BaseVisibilityConverterTest\\:\\:getDataForTestForDirectory\\(\\) return type has no value type specified in iterable type iterable\\.$#" count: 1