Skip to content

Merge pull request #164 from devgeniem/TMS-1075 #796

Merge pull request #164 from devgeniem/TMS-1075

Merge pull request #164 from devgeniem/TMS-1075 #796

Triggered via push October 23, 2024 11:46
Status Failure
Total duration 22s
Artifacts

phpcs-check.yml

on: push
phpcs-check
14s
phpcs-check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
phpcs-check: lib/ACFController.php#L8
An import use statement should never start with a leading backslash
phpcs-check: lib/ACFController.php#L21
There must not be a space before the colon in a return type declaration
phpcs-check: lib/ACFController.php#L25
The closing brace for the class must go on the next line after the body
phpcs-check: lib/Admin.php#L21
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Admin.php#L35
There must not be a space before the colon in a return type declaration
phpcs-check: lib/PostTypeController.php#L22
There must not be a space before the colon in a return type declaration
phpcs-check: lib/PostTypeController.php#L31
There must not be a space before the colon in a return type declaration
phpcs-check: lib/autoload.php#L42
Expected 1 blank line at end of file; 2 found
phpcs-check: lib/FormatterController.php#L22
There must not be a space before the colon in a return type declaration
phpcs-check: lib/FormatterController.php#L36
There must not be a space before the colon in a return type declaration
phpcs-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@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-check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
phpcs-check: lib/autoload.php#L15
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/FormatterController.php#L63
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
phpcs-check: lib/ThemeController.php#L34
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class