Skip to content

1.10.1

1.10.1 #833

Triggered via push August 20, 2024 19:11
Status Failure
Total duration 28s
Artifacts

phpcs-check.yml

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

Annotations

10 errors and 10 warnings
phpcs-check: lib/autoload.php#L39
Expected 1 blank line at end of file; 2 found
phpcs-check: lib/ThemeController.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: lib/FormatterController.php#L42
There must not be a space before the colon in a return type declaration
phpcs-check: lib/FormatterController.php#L53
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Formatters/AccordionImageFormatter.php#L27
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Formatters/AccordionImageFormatter.php#L41
There must not be a space before the colon in a return type declaration
phpcs-check: lib/Taxonomy/ArtistCategory.php#L5
An import use statement should never start with a leading backslash
phpcs-check: lib/Taxonomy/ArtistCategory.php#L28
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: lib/FormatterController.php#L60
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/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