From 3780ff92e2042e631bb97d4fcf67a56f4a096497 Mon Sep 17 00:00:00 2001 From: peptiderepo Date: Mon, 15 Jun 2026 09:32:43 +0000 Subject: [PATCH] Fix CI round 3: executor class docblock + @var format + CommaSpacing - Restored separate file docblock + class docblock (WPCS requires class to have its own doc comment with short description) - Property @var docblocks: expanded back to 4-line format with short description on first line (WPCS MissingShortDescription) - write_meta compact arrays: added Universal.WhiteSpace.CommaSpacing.TooMuchSpaceAfter to phpcs:disable block (column-aligned pairs use tab spacing) - Class closing brace: removed blank line before } - Trims @see and blank lines to keep file exactly at 300 lines --- .../core/class-prv-probe-run-executor.php | 26 +++++++++++++------ 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/includes/core/class-prv-probe-run-executor.php b/includes/core/class-prv-probe-run-executor.php index de95e78..e84a10a 100644 --- a/includes/core/class-prv-probe-run-executor.php +++ b/includes/core/class-prv-probe-run-executor.php @@ -1,20 +1,31 @@ capture->write_meta( array( 'visibility_row' => null, 'run_id' => $run_id, @@ -170,7 +181,7 @@ class PRV_Probe_Run_Executor { $this->ledger->update_row_cost( $row_id, $result->get_cost_usd() ); } - // phpcs:disable WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine + // phpcs:disable WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine, Universal.WhiteSpace.CommaSpacing.TooMuchSpaceAfter $cid = $this->capture->write_meta( array( 'visibility_row' => $row_id > 0 ? $row_id : null, 'run_id' => $run_id, @@ -286,5 +297,4 @@ class PRV_Probe_Run_Executor { } update_option( 'prv_api_key_last_check', current_time( 'mysql', true ) ); } - }