Skip to content

Commit

Permalink
[PHPStan] Aligned baseline with PHPStan update
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Jun 7, 2024
1 parent 39aed20 commit 7fbfd98
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 65 deletions.
45 changes: 0 additions & 45 deletions phpstan-baseline-7.4.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
20 changes: 0 additions & 20 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7fbfd98

Please sign in to comment.