Updated phpstan baseline

This commit is contained in:
Chris Kankiewicz
2022-05-05 08:57:07 -07:00
parent cadf05d7e6
commit d0f1f58563

View File

@@ -96,12 +96,17 @@ parameters:
path: app/src/ViewFunctions/SizeForHumans.php
-
message: "#^Parameter \\#1 \\$finfo of function finfo_buffer expects resource, resource\\|false given\\.$#"
message: "#^Method App\\\\ViewFunctions\\\\SizeForHumans\\:\\:__invoke\\(\\) throws checked exception DivisionByZeroError but it's missing from the PHPDoc @throws tag\\.$#"
count: 1
path: app/src/ViewFunctions/SizeForHumans.php
-
message: "#^Parameter \\#1 \\$finfo of function finfo_buffer expects finfo, finfo\\|false given\\.$#"
count: 1
path: tests/Controllers/ZipControllerTest.php
-
message: "#^Parameter \\#1 \\$finfo of function finfo_buffer expects resource, resource\\|false given\\.$#"
message: "#^Parameter \\#1 \\$finfo of function finfo_buffer expects finfo, finfo\\|false given\\.$#"
count: 1
path: tests/Exceptions/ErrorHandlerTest.php