Skip to content

Merge pull request #11 from devgeniem/TMS-1097 #53

Merge pull request #11 from devgeniem/TMS-1097

Merge pull request #11 from devgeniem/TMS-1097 #53

Triggered via push January 29, 2025 19:08
Status Failure
Total duration 20s
Artifacts

phpcs-check.yml

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

Annotations

10 errors and 11 warnings
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: models/page-extend.php#L19
There must not be a space before the colon in a return type declaration
phpcs-check: models/page-extend.php#L28
There must not be a space before the colon in a return type declaration
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/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/ThemeSupports.php#L35
Expected 9 spaces before asterisk; 5 found
phpcs-check: lib/ThemeSupports.php#L36
Expected 9 spaces before asterisk; 5 found
phpcs-check: lib/ThemeSupports.php#L37
Expected 9 spaces before asterisk; 5 found
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: lib/ThemeController.php#L28
It is recommended not to use reserved keyword "class" as function parameter name. Found: $class
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/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.