Update to Larastan 1.0 (#13466)

This commit is contained in:
Jellyfrog
2021-11-02 19:43:14 +01:00
committed by GitHub
parent c572e2828b
commit 307313f7df
4 changed files with 2816 additions and 2549 deletions

View File

@@ -70,21 +70,6 @@ parameters:
count: 6
path: LibreNMS/Alert/RunAlerts.php
-
message: "#^Calling dbFetchCell\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchCell\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: LibreNMS/Alert/Transport.php
-
message: "#^Calling dbInsert\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbInsert\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: LibreNMS/Alert/Transport/Pagerduty.php
-
message: "#^Calling dbUpdate\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbUpdate\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: LibreNMS/Alert/Transport/Pagerduty.php
-
message: "#^Calling dbFetchRow\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchRow\\(\\) matches db\\*\\(\\)\\]$#"
count: 3
@@ -345,11 +330,6 @@ parameters:
count: 4
path: includes/common.php
-
message: "#^Calling dbUpdate\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbUpdate\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: includes/common.php
-
message: "#^Calling dbDelete\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbDelete\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
@@ -1267,7 +1247,7 @@ parameters:
-
message: "#^Calling dbDelete\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbDelete\\(\\) matches db\\*\\(\\)\\]$#"
count: 9
count: 8
path: includes/functions.php
-
@@ -1277,17 +1257,12 @@ parameters:
-
message: "#^Calling dbFetchCell\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchCell\\(\\) matches db\\*\\(\\)\\]$#"
count: 10
path: includes/functions.php
-
message: "#^Calling dbFetchColumn\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchColumn\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
count: 8
path: includes/functions.php
-
message: "#^Calling dbFetchRow\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchRow\\(\\) matches db\\*\\(\\)\\]$#"
count: 6
count: 5
path: includes/functions.php
-
@@ -1302,7 +1277,7 @@ parameters:
-
message: "#^Calling dbInsert\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbInsert\\(\\) matches db\\*\\(\\)\\]$#"
count: 9
count: 5
path: includes/functions.php
-
@@ -1312,7 +1287,7 @@ parameters:
-
message: "#^Calling dbUpdate\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbUpdate\\(\\) matches db\\*\\(\\)\\]$#"
count: 10
count: 7
path: includes/functions.php
-
@@ -1400,21 +1375,6 @@ parameters:
count: 1
path: includes/html/dev-groups-overview-data.inc.php
-
message: "#^Calling dbFetchCell\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchCell\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: includes/html/forms/ack-alert.inc.php
-
message: "#^Calling dbFetchRow\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchRow\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: includes/html/forms/ack-alert.inc.php
-
message: "#^Calling dbUpdate\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbUpdate\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: includes/html/forms/ack-alert.inc.php
-
message: "#^Calling dbInsert\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbInsert\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
@@ -1765,16 +1725,6 @@ parameters:
count: 1
path: includes/html/forms/storage-update.inc.php
-
message: "#^Calling dbFetchCell\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchCell\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: includes/html/forms/test-transport.inc.php
-
message: "#^Calling dbFetchRow\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchRow\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: includes/html/forms/test-transport.inc.php
-
message: "#^Calling dbInsert\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbInsert\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
@@ -2760,21 +2710,6 @@ parameters:
count: 1
path: includes/html/pages/peering/as-selection.inc.php
-
message: "#^Calling dbFetchRow\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchRow\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: includes/html/pages/plugin.inc.php
-
message: "#^Calling dbFetchRows\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchRows\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: includes/html/pages/plugin/admin.inc.php
-
message: "#^Calling dbUpdate\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbUpdate\\(\\) matches db\\*\\(\\)\\]$#"
count: 1
path: includes/html/pages/plugin/admin.inc.php
-
message: "#^Calling dbFetchRows\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchRows\\(\\) matches db\\*\\(\\)\\]$#"
count: 4
@@ -2952,7 +2887,7 @@ parameters:
-
message: "#^Calling dbFetchRows\\(\\) is forbidden, use Eloquent instead; https\\://laravel\\.com/docs/8\\.x/eloquent \\[dbFetchRows\\(\\) matches db\\*\\(\\)\\]$#"
count: 3
count: 2
path: includes/html/print-alert-transports.php
-