TMS-1075: Redipress 2 filters #845
Annotations
10 errors and 10 warnings
phpcs-check:
lib/ACFController.php#L5
An import use statement should never start with a leading backslash
|
phpcs-check:
lib/ACFController.php#L18
There must not be a space before the colon in a return type declaration
|
phpcs-check:
lib/ACFController.php#L22
The closing brace for the class must go on the next line after the body
|
phpcs-check:
lib/autoload.php#L39
Expected 1 blank line at end of file; 2 found
|
phpcs-check:
lib/PostTypeController.php#L19
There must not be a space before the colon in a return type declaration
|
phpcs-check:
lib/PostTypeController.php#L28
There must not be a space before the colon in a return type declaration
|
phpcs-check:
lib/ThemeController.php#L16
There must not be a space before the colon in a return type declaration
|
phpcs-check:
models/single-exhibition.php#L16
There must not be a space before the colon in a return type declaration
|
phpcs-check:
lib/FormatterController.php#L19
There must not be a space before the colon in a return type declaration
|
phpcs-check:
lib/FormatterController.php#L33
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#L12
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
|
phpcs-check:
lib/ThemeController.php#L29
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
|
phpcs-check:
models/single-exhibition.php#L65
It is recommended not to use reserved keyword "string" as function parameter name. Found: $string
|
phpcs-check:
lib/FormatterController.php#L60
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
|
phpcs-check:
lib/ACF/ExhibitionGroup.php#L103
Line exceeds 120 characters; contains 138 characters
|
phpcs-check:
models/archive-exhibition.php#L71
It is recommended not to use reserved keyword "parent" as function parameter name. Found: $parent
|
phpcs-check:
models/archive-exhibition.php#L297
Line exceeds 120 characters; contains 174 characters
|
phpcs-check:
models/archive-exhibition.php#L424
Line exceeds 120 characters; contains 127 characters
|