Skip to content

Fix phpsc

Fix phpsc #139

Triggered via push March 4, 2024 14:42
Status Success
Total duration 16s
Artifacts

php-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
PHPCS
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPCS
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHPCS: class-gwiz-gf-openai.php#L629
Array double arrow not aligned correctly; expected 8 space(s) between "'title'" and double arrow, but found 6.
PHPCS: class-gwiz-gf-openai.php#L630
Array double arrow not aligned correctly; expected 11 space(s) between "'id'" and double arrow, but found 9.
PHPCS: class-gwiz-gf-openai.php#L631
Array double arrow not aligned correctly; expected 7 space(s) between "'fields'" and double arrow, but found 5.
PHPCS: class-gwiz-gf-openai.php#L1389
A gettext call containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
PHPCS: class-gwiz-gf-openai.php#L1498
Array double arrow not aligned correctly; expected 29 space(s) between "'endpoint'" and double arrow, but found 32.
PHPCS: class-gwiz-gf-openai.php#L1499
Array double arrow not aligned correctly; expected 15 space(s) between "'chat_completions_model'" and double arrow, but found 18.
PHPCS: class-gwiz-gf-openai.php#L1500
Array double arrow not aligned correctly; expected 13 space(s) between "'chat_completions_message'" and double arrow, but found 16.
PHPCS: class-gwiz-gf-openai.php#L1501
Array double arrow not aligned correctly; expected 4 space(s) between "'chat/completions_enable_merge_tag'" and double arrow, but found 7.
PHPCS: class-gwiz-gf-openai.php#L1502
Array double arrow not aligned correctly; expected 1 space(s) between "'chat/completions_map_result_to_field'" and double arrow, but found 4.
PHPCS: class-gwiz-gf-openai.php#L1503
Array double arrow not aligned correctly; expected 13 space(s) between "'chat/completions_timeout'" and double arrow, but found 16.