Skip to content

Event details page block #1025

Event details page block

Event details page block #1025

Triggered via pull request September 10, 2024 11:35
Status Failure
Total duration 28s
Artifacts

coding-standards.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
phpcs: themes/wporg-translate-events-2024/blocks/contributor-list/index.php#L28
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L3
A function call to __() with texts containing placeholders was found, but was not accompanied by a "translators:" comment on the line above to clarify the meaning of the placeholders.
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L7
Tabs must be used to indent lines; spaces are not allowed
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L8
Tabs must be used to indent lines; spaces are not allowed
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L14
Tabs must be used to indent lines; spaces are not allowed
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L15
Tabs must be used to indent lines; spaces are not allowed
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L16
Tabs must be used to indent lines; spaces are not allowed
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L17
Tabs must be used to indent lines; spaces are not allowed
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L18
Tabs must be used to indent lines; spaces are not allowed
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L19
Tabs must be used to indent lines; spaces are not allowed
phpcs
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
phpcs: themes/wporg-translate-events-2024/blocks/contributor-list/index.php#L12
The method parameter $content is never used
phpcs: themes/wporg-translate-events-2024/blocks/contributor-list/index.php#L12
The method parameter $block is never used
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/render-list.php#L27
Stand-alone post-increment statement found. Use pre-increment instead: ++$counter.
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/index.php#L10
The method parameter $content is never used
phpcs: themes/wporg-translate-events-2024/blocks/attendee-list/index.php#L10
The method parameter $block is never used
phpcs: themes/wporg-translate-events-2024/blocks/attendee-avatar-name/index.php#L7
The method parameter $content is never used
phpcs: themes/wporg-translate-events-2024/blocks/attendee-avatar-name/index.php#L7
The method parameter $block is never used
phpcs: themes/wporg-translate-events-2024/blocks/event-stats/index.php#L12
The method parameter $content is never used
phpcs: themes/wporg-translate-events-2024/blocks/event-stats/index.php#L12
The method parameter $block is never used
phpcs: themes/wporg-translate-events-2024/blocks/event-description/index.php#L10
The method parameter $content is never used