Skip to content

Prevent adding a comma if key isn't in the first position #56

Prevent adding a comma if key isn't in the first position

Prevent adding a comma if key isn't in the first position #56

Triggered via push May 17, 2024 11:44
Status Failure
Total duration 22s
Artifacts

cs.yml

on: push
Check code style
11s
Check code style
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
Check code style: tests/WP_SQLite_Query_Tests.php#L509
Opening parenthesis of a multi-line function call must be the last content on the line
Check code style: tests/WP_SQLite_Query_Tests.php#L509
String "\n CREATE TABLE `test` (\n `id` INT PRIMARY KEY,\n `text` VARCHAR(255),\n );\n " does not require double quotes; use single quotes instead
Check code style: tests/WP_SQLite_Query_Tests.php#L514
Closing parenthesis of a multi-line function call must be on a line by itself
Check code style: tests/WP_SQLite_Query_Tests.php#L516
Opening parenthesis of a multi-line function call must be the last content on the line
Check code style
Process completed with exit code 1.
Check code style
Process completed with exit code 2.
Check code style
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L2806
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space