Skip to content

Fix unlimited key lengths issue #369

Fix unlimited key lengths issue

Fix unlimited key lengths issue #369

Triggered via pull request December 12, 2024 16:25
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

3 errors and 2 warnings
Check code style: tests/WP_SQLite_Translator_Tests.php#L426
String "CREATE TABLE _tmp__table (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `order_id` bigint(20) unsigned DEFAULT NULL,\n `meta_key` varchar(255) DEFAULT NULL,\n `meta_value` text DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `meta_key_value` (`meta_key`(100),`meta_value`(82)),\n KEY `order_id_meta_key_meta_value` (`order_id`,`meta_key`(100),`meta_value`(82))\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
Check code style: wp-includes/sqlite/class-wp-sqlite-translator.php#L3728
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space