Skip to content

Feedback fixes

Feedback fixes #138

Triggered via push March 4, 2024 14:02
Status Failure
Total duration 15s
Artifacts

php-lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 12 warnings
PHPCS: class-gwiz-gf-openai.php#L1462
Tabs must be used to indent lines; spaces are not allowed
PHPCS: class-gwiz-gf-openai.php#L1468
Space after opening control structure is required
PHPCS: class-gwiz-gf-openai.php#L1468
No space before opening parenthesis is prohibited
PHPCS: class-gwiz-gf-openai.php#L1559
Whitespace found at end of line
PHPCS
Process completed with exit code 1.
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#L606
Array double arrow not aligned correctly; expected 8 space(s) between "'title'" and double arrow, but found 6.
PHPCS: class-gwiz-gf-openai.php#L607
Array double arrow not aligned correctly; expected 11 space(s) between "'id'" and double arrow, but found 9.
PHPCS: class-gwiz-gf-openai.php#L608
Array double arrow not aligned correctly; expected 7 space(s) between "'fields'" and double arrow, but found 5.
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#L636
Array double arrow not aligned correctly; expected 3 space(s) between "'dependency'" and double arrow, but found 1.
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#L1495
Equals sign not aligned correctly; expected 1 space but found 7 spaces
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.