File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
plugins/speculation-rules Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ public function test_add_setting_ui(): void {
215
215
*
216
216
* @return array<string, array<mixed>> Data for testing settings fields.
217
217
*/
218
- public function settingsFieldProvider (): array {
218
+ public function data_provider_to_test_render_settings_field (): array {
219
219
return array (
220
220
'mode ' => array (
221
221
array (
@@ -251,7 +251,7 @@ public function settingsFieldProvider(): array {
251
251
/**
252
252
* Test rendering of settings fields using data provider.
253
253
*
254
- * @dataProvider settingsFieldProvider
254
+ * @dataProvider data_provider_to_test_render_settings_field
255
255
* @param array<mixed> $args Arguments for the settings field.
256
256
* @param array<mixed> $stored_settings Stored settings values.
257
257
* @param string $name_check HTML name attribute check.
Original file line number Diff line number Diff line change 8
8
9
9
// If uninstall.php is not called by WordPress, bail.
10
10
if ( ! defined ( 'WP_UNINSTALL_PLUGIN ' ) ) {
11
- exit ;
11
+ exit ;// @codeCoverageIgnore
12
12
}
13
13
14
14
// For a multisite, delete the option for all sites (however limited to 100 sites to avoid memory limit or timeout problems in large scale networks).
You can’t perform that action at this time.
0 commit comments