Skip to content

Explorations: MySQL Query -> AST Parser #199

Explorations: MySQL Query -> AST Parser

Explorations: MySQL Query -> AST Parser #199

Triggered via pull request August 12, 2024 11:21
Status Failure
Total duration 53s
Artifacts

cs.yml

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

Annotations

11 errors and 11 warnings
Check code style: wp-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L15
Tabs must be used to indent lines; spaces are not allowed
Check code style: wp-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L15
Expected 1 space after the array opener in a single line array. Found: no spaces
Check code style: wp-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L15
Expected 1 space before the array closer in a single line array. Found: no spaces
Check code style: wp-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L16
Tabs must be used to indent lines; spaces are not allowed
Check code style: wp-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L16
Expected 1 space after the array opener in a single line array. Found: no spaces
Check code style
Process completed with exit code 2.
Check code style
The following actions uses Node.js version which is deprecated 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-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L15
Array double arrow not aligned correctly; expected 11 space(s) between "'simple'" and double arrow, but found 1.
Check code style: wp-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L33
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
Check code style: wp-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L34
Variable "$executionTime" is not in valid snake_case format, try "$execution_time"
Check code style: wp-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L36
Variable "$executionTime" is not in valid snake_case format, try "$execution_time"
Check code style: wp-content/plugins/sqlite-database-integration/wp-includes/mysql-parser/sql-playground.php#L40
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
Check code style: tests/WP_MySQL_Parser_Tests.php#L14
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
Check code style: tests/WP_MySQL_Parser_Tests.php#L26
Array double arrow not aligned correctly; expected 16 space(s) between "'createDatabase'" and double arrow, but found 1.
Check code style: tests/WP_MySQL_Parser_Tests.php#L27
Array double arrow not aligned correctly; expected 19 space(s) between "'createTable'" and double arrow, but found 1.
Check code style: tests/WP_MySQL_Parser_Tests.php#L53
Array double arrow not aligned correctly; expected 19 space(s) between "'insertMulti'" and double arrow, but found 1.
Check code style: tests/WP_MySQL_Parser_Tests.php#L60
Array double arrow not aligned correctly; expected 18 space(s) between "'insertSelect'" and double arrow, but found 1.