Merge pull request #98 from devgeniem/TMS-1067 #419
Annotations
10 errors and 7 warnings
phpcs-check:
lib/ThemeSupports.php#L21
There must not be a space before the colon in a return type declaration
|
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/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/ThemeController.php#L18
There must not be a space before the colon in a return type declaration
|
phpcs-check:
lib/Formatters/HeroFormatter.php#L23
There must not be a space before the colon in a return type declaration
|
phpcs-check:
lib/Formatters/HeroFormatter.php#L38
There must not be a space before the colon in a return type declaration
|
phpcs-check:
lib/ACF/Field/AccentColorField.php#L23
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/ThemeController.php#L33
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
|
phpcs-check:
lib/Formatters/HeroFormatter.php#L38
Function's cyclomatic complexity (17) exceeds 15; consider refactoring the function
|
phpcs-check:
lib/Formatters/HeroFormatter.php#L42
This comment is 70% valid code; is this commented out code?
|
phpcs-check:
lib/FormatterController.php#L63
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
|