You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+13-19Lines changed: 13 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ parameters:
7
7
path:classes/Visualizer/Gutenberg/Block.php
8
8
9
9
-
10
-
message:'#^Call to function is_wp_error\(\) with string will always evaluate to false\.$#'
10
+
message:'#^Call to function is_wp_error\(\) with non\-empty\-string will always evaluate to false\.$#'
11
11
identifier:function.impossibleType
12
12
count:1
13
13
path:classes/Visualizer/Gutenberg/Block.php
@@ -36,12 +36,6 @@ parameters:
36
36
count:1
37
37
path:classes/Visualizer/Gutenberg/Block.php
38
38
39
-
-
40
-
message:'#^Method Visualizer_Gutenberg_Block\:\:add_rest_query_vars\(\) has parameter \$request with generic class WP_REST_Request but does not specify its types\: T$#'
41
-
identifier:missingType.generics
42
-
count:1
43
-
path:classes/Visualizer/Gutenberg/Block.php
44
-
45
39
-
46
40
message:'#^Method Visualizer_Gutenberg_Block\:\:enqueue_gutenberg_scripts\(\) has no return type specified\.$#'
47
41
identifier:missingType.return
@@ -204,6 +198,12 @@ parameters:
204
198
count:1
205
199
path:classes/Visualizer/Gutenberg/Block.php
206
200
201
+
-
202
+
message:'#^Unable to resolve the template type TUrl in call to function wp_http_validate_url$#'
203
+
identifier:argument.templateType
204
+
count:1
205
+
path:classes/Visualizer/Gutenberg/Block.php
206
+
207
207
-
208
208
message:'#^Constant VISUALIZER_PRO_VERSION not found\.$#'
209
209
identifier:constant.notFound
@@ -1386,6 +1386,12 @@ parameters:
1386
1386
count:1
1387
1387
path:classes/Visualizer/Module/Chart.php
1388
1388
1389
+
-
1390
+
message:'#^Unable to resolve the template type TUrl in call to function wp_http_validate_url$#'
1391
+
identifier:argument.templateType
1392
+
count:1
1393
+
path:classes/Visualizer/Module/Chart.php
1394
+
1389
1395
-
1390
1396
message:'#^Undefined variable\: \$atts$#'
1391
1397
identifier:variable.undefined
@@ -1512,12 +1518,6 @@ parameters:
1512
1518
count:1
1513
1519
path:classes/Visualizer/Module/Frontend.php
1514
1520
1515
-
-
1516
-
message:'#^Method Visualizer_Module_Frontend\:\:perform_action\(\) has parameter \$params with generic class WP_REST_Request but does not specify its types\: T$#'
1517
-
identifier:missingType.generics
1518
-
count:1
1519
-
path:classes/Visualizer/Module/Frontend.php
1520
-
1521
1521
-
1522
1522
message:'#^Method Visualizer_Module_Frontend\:\:printFooterScripts\(\) has no return type specified\.$#'
1523
1523
identifier:missingType.return
@@ -2034,12 +2034,6 @@ parameters:
2034
2034
count:1
2035
2035
path:classes/Visualizer/Module/Wizard.php
2036
2036
2037
-
-
2038
-
message:'#^Path in include_once\(\) "\./wp\-admin/includes/plugin\-install\.php" is not a file or it does not exist\.$#'
2039
-
identifier:includeOnce.fileNotFound
2040
-
count:1
2041
-
path:classes/Visualizer/Module/Wizard.php
2042
-
2043
2037
-
2044
2038
message:'#^Property Visualizer_Module_Wizard\:\:\$wizard_data has no type specified\.$#'
0 commit comments