Skip to content

CI: Added the php code quality standart (#6) #8

CI: Added the php code quality standart (#6)

CI: Added the php code quality standart (#6) #8

Triggered via push June 27, 2024 11:56
Status Failure
Total duration 18s
Artifacts

test.yml

on: push
syntax-check
10s
syntax-check
code-quality-test
4s
code-quality-test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
code-quality-test: www/backend/controllers/404.ctrl.php#L2
Missing file doc comment
code-quality-test: www/backend/controllers/404.ctrl.php#L3
Opening parenthesis of a multi-line function call must be the last content on the line
code-quality-test: www/backend/controllers/404.ctrl.php#L3
Only one argument is allowed per line in a multi-line function call
code-quality-test: www/backend/controllers/404.ctrl.php#L4
Concat operator must not be surrounded by spaces
code-quality-test: www/backend/controllers/404.ctrl.php#L5
Each line in an array declaration must end in a comma
code-quality-test: www/backend/controllers/404.ctrl.php#L6
Each line in an array declaration must end in a comma
code-quality-test: www/backend/controllers/404.ctrl.php#L8
Closing parenthesis of a multi-line function call must be on a line by itself
code-quality-test: www/backend/controllers/404.ctrl.php#L8
Expected 1 newline at end of file; 0 found
code-quality-test: www/backend/controllers/api.ctrl.php#L2
Missing file doc comment
code-quality-test: www/backend/controllers/api.ctrl.php#L5
Expected 1 space(s) after SWITCH keyword; 0 found
code-quality-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, Novusvetus/action-php_codesniffer@1.2.17. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
code-quality-test
The following actions uses node12 which is deprecated and will be forced to run on node16: Novusvetus/action-php_codesniffer@1.2.17. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
syntax-check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.