From 9cc50d3356f0487bfac3f7c03a0ae5ebe4c2943c Mon Sep 17 00:00:00 2001 From: Zack Galbreath Date: Thu, 21 Nov 2024 12:07:25 -0500 Subject: [PATCH] Update phpstan-baseline.neon (fewer ignored errors!) --- phpstan-baseline.neon | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index c284cda5bc..f770adeeae 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -301,7 +301,7 @@ parameters: #^Call to deprecated function pdo_error\\(\\)\\: 04/01/2023$# """ - count: 7 + count: 6 path: app/Http/Controllers/AdminController.php - @@ -410,26 +410,6 @@ parameters: count: 1 path: app/Http/Controllers/AdminController.php - - - message: "#^Method App\\\\Http\\\\Controllers\\\\AdminController\\:\\:delete_unused_rows\\(\\) has parameter \\$field with no type specified\\.$#" - count: 1 - path: app/Http/Controllers/AdminController.php - - - - message: "#^Method App\\\\Http\\\\Controllers\\\\AdminController\\:\\:delete_unused_rows\\(\\) has parameter \\$selectfield with no type specified\\.$#" - count: 1 - path: app/Http/Controllers/AdminController.php - - - - message: "#^Method App\\\\Http\\\\Controllers\\\\AdminController\\:\\:delete_unused_rows\\(\\) has parameter \\$table with no type specified\\.$#" - count: 1 - path: app/Http/Controllers/AdminController.php - - - - message: "#^Method App\\\\Http\\\\Controllers\\\\AdminController\\:\\:delete_unused_rows\\(\\) has parameter \\$targettable with no type specified\\.$#" - count: 1 - path: app/Http/Controllers/AdminController.php - - message: "#^Method App\\\\Http\\\\Controllers\\\\AdminController\\:\\:removeBuilds\\(\\) never returns Illuminate\\\\Http\\\\RedirectResponse so it can be removed from the return type\\.$#" count: 1 @@ -447,7 +427,7 @@ parameters: - message: "#^Only booleans are allowed in an if condition, mixed given\\.$#" - count: 9 + count: 8 path: app/Http/Controllers/AdminController.php - @@ -28652,11 +28632,6 @@ parameters: count: 1 path: app/cdash/tests/test_upgrade.php - - - message: "#^Method UpgradeTestCase\\:\\:testCleanup\\(\\) has no return type specified\\.$#" - count: 1 - path: app/cdash/tests/test_upgrade.php - - message: "#^Method UpgradeTestCase\\:\\:testComputeTestTiming\\(\\) has no return type specified\\.$#" count: 1