Skip to content

Commit ff841c9

Browse files
committed
chore: update baseline
1 parent e92f3c7 commit ff841c9

2 files changed

Lines changed: 14 additions & 20 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"format": "phpcbf --standard=phpcs.xml --report-summary --report-source",
3535
"lint": "phpcs --standard=phpcs.xml",
3636
"phpstan": "phpstan",
37-
"phpstan:generate:baseline": "phpstan --generate-baseline"
37+
"phpstan:generate:baseline": "phpstan --generate-baseline --memory-limit=2G"
3838
},
3939
"minimum-stability": "dev",
4040
"prefer-stable": true,

phpstan-baseline.neon

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ parameters:
77
path: classes/Visualizer/Gutenberg/Block.php
88

99
-
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\.$#'
1111
identifier: function.impossibleType
1212
count: 1
1313
path: classes/Visualizer/Gutenberg/Block.php
@@ -36,12 +36,6 @@ parameters:
3636
count: 1
3737
path: classes/Visualizer/Gutenberg/Block.php
3838

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-
4539
-
4640
message: '#^Method Visualizer_Gutenberg_Block\:\:enqueue_gutenberg_scripts\(\) has no return type specified\.$#'
4741
identifier: missingType.return
@@ -204,6 +198,12 @@ parameters:
204198
count: 1
205199
path: classes/Visualizer/Gutenberg/Block.php
206200

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+
207207
-
208208
message: '#^Constant VISUALIZER_PRO_VERSION not found\.$#'
209209
identifier: constant.notFound
@@ -1386,6 +1386,12 @@ parameters:
13861386
count: 1
13871387
path: classes/Visualizer/Module/Chart.php
13881388

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+
13891395
-
13901396
message: '#^Undefined variable\: \$atts$#'
13911397
identifier: variable.undefined
@@ -1512,12 +1518,6 @@ parameters:
15121518
count: 1
15131519
path: classes/Visualizer/Module/Frontend.php
15141520

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-
15211521
-
15221522
message: '#^Method Visualizer_Module_Frontend\:\:printFooterScripts\(\) has no return type specified\.$#'
15231523
identifier: missingType.return
@@ -2034,12 +2034,6 @@ parameters:
20342034
count: 1
20352035
path: classes/Visualizer/Module/Wizard.php
20362036

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-
20432037
-
20442038
message: '#^Property Visualizer_Module_Wizard\:\:\$wizard_data has no type specified\.$#'
20452039
identifier: missingType.property

0 commit comments

Comments
 (0)