Skip to content

Fix datetime field with empty default #364

Fix datetime field with empty default

Fix datetime field with empty default #364

Triggered via pull request December 11, 2024 16:56
Status Failure
Total duration 33s
Artifacts

cs.yml

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

Annotations

4 errors and 1 warning
Check code style: tests/WP_SQLite_Translator_Tests.php#L295
String "CREATE TABLE _tmp_table (\n ID BIGINT PRIMARY KEY AUTO_INCREMENT,\n timestamp1 datetime NOT NULL,\n timestamp2 date NOT NULL,\n timestamp3 time NOT NULL,\n timestamp4 timestamp NOT NULL,\n timestamp5 year NOT NULL\n );" does not require double quotes; use single quotes instead
Check code style: tests/WP_SQLite_Translator_Tests.php#L311
String "CREATE TABLE `_tmp_table` (\n `ID` bigint AUTO_INCREMENT,\n `timestamp1` datetime NOT NULL,\n `timestamp2` date NOT NULL,\n `timestamp3` time NOT NULL,\n `timestamp4` timestamp NOT NULL,\n `timestamp5` year NOT NULL,\n PRIMARY KEY (`ID`)\n);" does not require double quotes; use single quotes instead
Check code style
Process completed with exit code 1.
Check code style
Process completed with exit code 2.
Check code style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636