Skip to content

Commit

Permalink
Update phpstan-baseline.neon (fewer ignored errors!)
Browse files Browse the repository at this point in the history
  • Loading branch information
zackgalbreath committed Nov 21, 2024
1 parent ef987bf commit 9cc50d3
Showing 1 changed file with 2 additions and 27 deletions.
29 changes: 2 additions & 27 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ parameters:
#^Call to deprecated function pdo_error\\(\\)\\:
04/01/2023$#
"""
count: 7
count: 6
path: app/Http/Controllers/AdminController.php

-
Expand Down Expand Up @@ -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
Expand All @@ -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

-
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9cc50d3

Please sign in to comment.