Skip to content

Add PHPUnit tests

Add PHPUnit tests #196

Triggered via push August 12, 2024 10:54
Status Failure
Total duration 44s
Artifacts

cs.yml

on: push
Check code style
34s
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#L19
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 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#L32
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#L33
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#L35
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#L39
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#L25
Array double arrow not aligned correctly; expected 24 space(s) between "'simple'" and double arrow, but found 1.
Check code style: tests/WP_MySQL_Parser_Tests.php#L26
Array double arrow not aligned correctly; expected 24 space(s) between "'simple'" and double arrow, but found 1.
Check code style: tests/WP_MySQL_Parser_Tests.php#L27
Array double arrow not aligned correctly; expected 17 space(s) between "'complexSelect'" and double arrow, but found 1.
Check code style: tests/WP_MySQL_Parser_Tests.php#L47
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#L71
Array double arrow not aligned correctly; expected 19 space(s) between "'insertMulti'" and double arrow, but found 1.