Skip to content

Add more rules for better mysql compatibility #296

Add more rules for better mysql compatibility

Add more rules for better mysql compatibility #296

Triggered via pull request November 9, 2024 10:32
Status Failure
Total duration 30s
Artifacts

cs.yml

on: pull_request
Check code style
19s
Check code style
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 2 warnings
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L874
Tabs must be used to indent lines; spaces are not allowed
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L874
Method name "getFirstTableName" in class WP_SQLite_Translator is not in snake case format, try "get_first_table_name"
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L875
Tabs must be used to indent lines; spaces are not allowed
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L876
Tabs must be used to indent lines; spaces are not allowed
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L876
No space after opening parenthesis is prohibited
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L876
Expected 1 spaces after opening parenthesis; 0 found
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L876
Expected 1 spaces before closing parenthesis; 0 found
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L876
No space before closing parenthesis is prohibited
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L877
Tabs must be used to indent lines; spaces are not allowed
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L878
Tabs must be used to indent lines; spaces are not allowed
Check code style
Process completed with exit code 2.
Check code style
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L890
Equals sign not aligned with surrounding assignments; expected 6 spaces but found 1 space