Skip to content

Commit 677ed8b

Browse files
committed
chore: update baseline
1 parent 49a9ca4 commit 677ed8b

2 files changed

Lines changed: 0 additions & 105 deletions

File tree

classes/Visualizer/Gutenberg/Block.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ public function enqueue_gutenberg_scripts() {
122122

123123
// Enqueue frontend and editor block styles
124124
wp_enqueue_style( 'visualizer-gutenberg-block', $stylePath, array( 'visualizer-datatables' ), $asset['version'] );
125-
126125
}
127126
/**
128127
* Hook server side rendering into render callback
@@ -196,7 +195,6 @@ public function register_rest_endpoints() {
196195
'get_callback' => array( $this, 'get_visualizer_data' ),
197196
)
198197
);
199-
200198
}
201199

202200
/**
@@ -433,5 +431,4 @@ public function add_rest_query_vars( $args, \WP_REST_Request $request ) {
433431
}
434432
return $args;
435433
}
436-
437434
}

phpstan-baseline.neon

Lines changed: 0 additions & 102 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
parameters:
22
ignoreErrors:
3-
-
4-
message: '#^Call to function is_string\(\) with string will always evaluate to true\.$#'
5-
identifier: function.alreadyNarrowedType
6-
count: 1
7-
path: classes/Visualizer/Gutenberg/Block.php
8-
9-
-
10-
message: '#^Call to function is_wp_error\(\) with non\-empty\-string will always evaluate to false\.$#'
11-
identifier: function.impossibleType
12-
count: 1
13-
path: classes/Visualizer/Gutenberg/Block.php
14-
153
-
164
message: '#^If condition is always false\.$#'
175
identifier: if.alwaysFalse
@@ -66,54 +54,6 @@ parameters:
6654
count: 1
6755
path: classes/Visualizer/Gutenberg/Block.php
6856

69-
-
70-
message: '#^Method Visualizer_Gutenberg_Block\:\:get_json_data\(\) has no return type specified\.$#'
71-
identifier: missingType.return
72-
count: 1
73-
path: classes/Visualizer/Gutenberg/Block.php
74-
75-
-
76-
message: '#^Method Visualizer_Gutenberg_Block\:\:get_json_data\(\) has parameter \$data with no type specified\.$#'
77-
identifier: missingType.parameter
78-
count: 1
79-
path: classes/Visualizer/Gutenberg/Block.php
80-
81-
-
82-
message: '#^Method Visualizer_Gutenberg_Block\:\:get_json_root_data\(\) has no return type specified\.$#'
83-
identifier: missingType.return
84-
count: 1
85-
path: classes/Visualizer/Gutenberg/Block.php
86-
87-
-
88-
message: '#^Method Visualizer_Gutenberg_Block\:\:get_json_root_data\(\) has parameter \$data with no type specified\.$#'
89-
identifier: missingType.parameter
90-
count: 1
91-
path: classes/Visualizer/Gutenberg/Block.php
92-
93-
-
94-
message: '#^Method Visualizer_Gutenberg_Block\:\:get_permission_data\(\) has no return type specified\.$#'
95-
identifier: missingType.return
96-
count: 1
97-
path: classes/Visualizer/Gutenberg/Block.php
98-
99-
-
100-
message: '#^Method Visualizer_Gutenberg_Block\:\:get_permission_data\(\) has parameter \$data with no type specified\.$#'
101-
identifier: missingType.parameter
102-
count: 1
103-
path: classes/Visualizer/Gutenberg/Block.php
104-
105-
-
106-
message: '#^Method Visualizer_Gutenberg_Block\:\:get_query_data\(\) has no return type specified\.$#'
107-
identifier: missingType.return
108-
count: 1
109-
path: classes/Visualizer/Gutenberg/Block.php
110-
111-
-
112-
message: '#^Method Visualizer_Gutenberg_Block\:\:get_query_data\(\) has parameter \$data with no type specified\.$#'
113-
identifier: missingType.parameter
114-
count: 1
115-
path: classes/Visualizer/Gutenberg/Block.php
116-
11757
-
11858
message: '#^Method Visualizer_Gutenberg_Block\:\:get_visualizer_data\(\) has no return type specified\.$#'
11959
identifier: missingType.return
@@ -150,18 +90,6 @@ parameters:
15090
count: 1
15191
path: classes/Visualizer/Gutenberg/Block.php
15292

153-
-
154-
message: '#^Method Visualizer_Gutenberg_Block\:\:set_json_data\(\) has no return type specified\.$#'
155-
identifier: missingType.return
156-
count: 1
157-
path: classes/Visualizer/Gutenberg/Block.php
158-
159-
-
160-
message: '#^Method Visualizer_Gutenberg_Block\:\:set_json_data\(\) has parameter \$data with no type specified\.$#'
161-
identifier: missingType.parameter
162-
count: 1
163-
path: classes/Visualizer/Gutenberg/Block.php
164-
16593
-
16694
message: '#^Method Visualizer_Gutenberg_Block\:\:toUTF8\(\) has no return type specified\.$#'
16795
identifier: missingType.return
@@ -174,36 +102,6 @@ parameters:
174102
count: 1
175103
path: classes/Visualizer/Gutenberg/Block.php
176104

177-
-
178-
message: '#^Method Visualizer_Gutenberg_Block\:\:update_chart_data\(\) has no return type specified\.$#'
179-
identifier: missingType.return
180-
count: 1
181-
path: classes/Visualizer/Gutenberg/Block.php
182-
183-
-
184-
message: '#^Method Visualizer_Gutenberg_Block\:\:update_chart_data\(\) has parameter \$data with no type specified\.$#'
185-
identifier: missingType.parameter
186-
count: 1
187-
path: classes/Visualizer/Gutenberg/Block.php
188-
189-
-
190-
message: '#^Method Visualizer_Gutenberg_Block\:\:upload_csv_data\(\) has no return type specified\.$#'
191-
identifier: missingType.return
192-
count: 1
193-
path: classes/Visualizer/Gutenberg/Block.php
194-
195-
-
196-
message: '#^Method Visualizer_Gutenberg_Block\:\:upload_csv_data\(\) has parameter \$data with no type specified\.$#'
197-
identifier: missingType.parameter
198-
count: 1
199-
path: classes/Visualizer/Gutenberg/Block.php
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-
207105
-
208106
message: '#^Constant VISUALIZER_PRO_VERSION not found\.$#'
209107
identifier: constant.notFound

0 commit comments

Comments
 (0)