1.0.0 #34
Annotations
9 errors and 12 warnings
phpcs-check:
lib/Formatters/HeroFormatter.php#L35
Function's cyclomatic complexity (21) exceeds allowed maximum of 20
|
phpcs-check:
lib/ACFController.php#L5
An import use statement should never start with a leading backslash
|
phpcs-check:
lib/ACFController.php#L22
The closing brace for the class must go on the next line after the body
|
phpcs-check:
lib/ACF/AlterKeyFiguresFields.php#L40
String "background_image" does not require double quotes; use single quotes instead
|
phpcs-check:
lib/ACF/AlterKeyFiguresFields.php#L45
String "text_background_image" does not require double quotes; use single quotes instead
|
phpcs-check:
lib/ACF/AlterQuoteData.php#L56
The closing brace for the class must go on the next line after the body
|
phpcs-check:
lib/ACF/Layouts/KeyFiguresLayout.php#L41
Function return type is not void, but function has no return statement
|
phpcs-check:
lib/ACF/Layouts/TimelineLayout.php#L107
Functions must not contain multiple empty lines in a row; found 2 empty lines
|
phpcs-check
Process completed with exit code 1.
|
phpcs-check
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
|
phpcs-check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
phpcs-check:
lib/autoload.php#L12
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
|
phpcs-check:
lib/FormatterController.php#L60
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
|
phpcs-check:
lib/ThemeController.php#L28
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
|
phpcs-check:
lib/ACF/Layouts/KeyFiguresLayout.php#L47
Array double arrow not aligned correctly; expected 1 space(s) between "'label'" and double arrow, but found 8.
|
phpcs-check:
lib/ACF/Layouts/KeyFiguresLayout.php#L50
Array double arrow not aligned correctly; expected 1 space(s) between "'label'" and double arrow, but found 8.
|
phpcs-check:
lib/ACF/Layouts/TimelineLayout.php#L51
Expected 1 space between "'image'" and double arrow; 5 found.
|
phpcs-check:
lib/ACF/Layouts/HeroLayout.php#L47
Expected 1 space between "'image'" and double arrow; 9 found.
|
phpcs-check:
lib/ACF/Layouts/HeroLayout.php#L51
Expected 1 space between "'title'" and double arrow; 9 found.
|
phpcs-check:
lib/ACF/Layouts/HeroLayout.php#L55
Expected 1 space between "'title_image'" and double arrow; 9 found.
|
phpcs-check:
lib/ACF/Layouts/HeroLayout.php#L59
Expected 1 space between "'description'" and double arrow; 3 found.
|