Fix CI: PHP 8.1 compat + WPCS violations in v0.3.0 new files
PHP 8.1: Cannot use positional argument after argument unpacking — class-prv-call-log-query.php line 77 (LIMIT/OFFSET args merged into array before spread). WPCS fixes across 8 files: - class-prv-admin-page-css.php: short description capital letter - class-prv-admin-page.php: docblock started on same line as closing brace - class-prv-call-drawer-renderer.php: param spacing, empty elseif blocks, extra indent on render_inline_script - class-prv-call-log-query.php: InterpolatedNotPrepared (use phpcs:disable/enable block for WHERE-clause interpolation) - class-prv-cost-rollup-query.php: InterpolatedNotPrepared for GROUP BY with dynamic column (phpcs:disable/enable block) - class-prv-costs-renderer.php: AssociativeArrayFound on inline sub-arrays - class-prv-probe-run-executor.php: docblock spacing, empty catch blocks, inline array items, ArrayItemNoNewLine (phpcs:disable on write_meta calls) - class-prv-probe-runner.php: extra space before ?? operator
This commit is contained in:
@@ -198,7 +198,9 @@ class PRV_Admin_Page {
|
||||
)
|
||||
);
|
||||
echo '</p></div>';
|
||||
} /**
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the combined CSS string for all PR Vision admin screens.
|
||||
*
|
||||
* Delegates to PRV_Admin_Page_Css to keep this class under 300 lines.
|
||||
|
||||
Reference in New Issue
Block a user