Skip to content

Commit

Permalink
Regenerate phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
zackgalbreath committed Sep 30, 2024
1 parent 7a65f59 commit 9197858
Showing 1 changed file with 12 additions and 137 deletions.
149 changes: 12 additions & 137 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,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 @@ -345,26 +345,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 Down Expand Up @@ -3046,6 +3026,11 @@ parameters:
count: 1
path: app/Utils/AuthTokenUtil.php

-
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
count: 1
path: app/Utils/DatabaseCleanupUtils.php

-
message: "#^Dynamic call to static method Illuminate\\\\Database\\\\Eloquent\\\\Builder\\<App\\\\Models\\\\Build\\>\\:\\:limit\\(\\)\\.$#"
count: 1
Expand All @@ -3056,6 +3041,11 @@ parameters:
count: 1
path: app/Utils/DatabaseCleanupUtils.php

-
message: "#^Parameter \\#1 \\$array of function array_chunk expects array, array\\<int\\>\\|int given\\.$#"
count: 1
path: app/Utils/DatabaseCleanupUtils.php

-
message: """
#^Call to deprecated function pdo_real_escape_string\\(\\)\\:
Expand Down Expand Up @@ -12540,14 +12530,6 @@ parameters:
count: 1
path: app/cdash/include/common.php

-
message: """
#^Call to deprecated function add_last_sql_error\\(\\)\\:
04/22/2023$#
"""
count: 1
path: app/cdash/include/common.php

-
message: """
#^Call to deprecated function add_log\\(\\)\\:
Expand Down Expand Up @@ -12625,7 +12607,7 @@ parameters:

-
message: "#^Construct empty\\(\\) is not allowed\\. Use more strict comparison\\.$#"
count: 5
count: 2
path: app/cdash/include/common.php

-
Expand Down Expand Up @@ -12713,11 +12695,6 @@ parameters:
count: 1
path: app/cdash/include/common.php

-
message: "#^Function delete_rows_chunked\\(\\) has parameter \\$ids with no value type specified in iterable type array\\.$#"
count: 1
path: app/cdash/include/common.php

-
message: "#^Function generate_XSLT\\(\\) has parameter \\$xml with no type specified\\.$#"
count: 1
Expand Down Expand Up @@ -12853,21 +12830,6 @@ parameters:
count: 1
path: app/cdash/include/common.php

-
message: "#^Function remove_build\\(\\) has no return type specified\\.$#"
count: 1
path: app/cdash/include/common.php

-
message: "#^Function remove_build\\(\\) has parameter \\$buildid with no type specified\\.$#"
count: 1
path: app/cdash/include/common.php

-
message: "#^Function remove_build_chunked\\(\\) has parameter \\$buildid with no type specified\\.$#"
count: 1
path: app/cdash/include/common.php

-
message: "#^Function remove_project_builds\\(\\) has parameter \\$projectid with no type specified\\.$#"
count: 1
Expand Down Expand Up @@ -19351,93 +19313,6 @@ parameters:
count: 3
path: app/cdash/tests/test_autoremovebuilds.php

-
message: """
#^Call to deprecated function pdo_fetch_array\\(\\)\\:
04/01/2023$#
"""
count: 1
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: """
#^Call to deprecated method execute\\(\\) of class CDash\\\\Database\\:
04/22/2023 Use Laravel query builder or Eloquent instead$#
"""
count: 4
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Call to deprecated method pass\\(\\) of class SimpleTestCase\\.$#"
count: 1
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: """
#^Call to deprecated method prepare\\(\\) of class CDash\\\\Database\\:
04/22/2023 Use Laravel query builder or Eloquent instead$#
"""
count: 6
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: """
#^Call to deprecated method query\\(\\) of class CDash\\\\Database\\:
04/22/2023 Use Laravel query builder or Eloquent instead$#
"""
count: 1
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Cannot access offset 0 on array\\|false\\|null\\.$#"
count: 2
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Cannot call method fetchColumn\\(\\) on PDOStatement\\|false\\.$#"
count: 4
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Loose comparison via \"\\!\\=\" is not allowed\\.$#"
count: 1
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Method AutoRemoveBuildsOnSubmitTestCase\\:\\:enableAutoRemoveConfigSetting\\(\\) has no return type specified\\.$#"
count: 1
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Method AutoRemoveBuildsOnSubmitTestCase\\:\\:setAutoRemoveTimeFrame\\(\\) has no return type specified\\.$#"
count: 1
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Method AutoRemoveBuildsOnSubmitTestCase\\:\\:testBuildsRemovedOnSubmission\\(\\) has no return type specified\\.$#"
count: 1
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Only booleans are allowed in an if condition, int\\|string\\|false\\|null given\\.$#"
count: 2
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Parameter \\#1 \\$stmt of method CDash\\\\Database\\:\\:execute\\(\\) expects PDOStatement, PDOStatement\\|false given\\.$#"
count: 4
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Parameter \\#1 \\$time of method CDash\\\\Model\\\\BuildGroup\\:\\:SetEndTime\\(\\) expects Illuminate\\\\Support\\\\Carbon, Illuminate\\\\Support\\\\Carbon\\|false given\\.$#"
count: 1
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: "#^Property AutoRemoveBuildsOnSubmitTestCase\\:\\:\\$config_file has no type specified\\.$#"
count: 1
path: app/cdash/tests/test_autoremovebuilds_on_submit.php

-
message: """
#^Call to deprecated function pdo_execute\\(\\)\\:
Expand Down

0 comments on commit 9197858

Please sign in to comment.