Skip to content

Event date block and functionality refactor #2021

Event date block and functionality refactor

Event date block and functionality refactor #2021

Triggered via pull request September 10, 2024 11:04
@mauterimauteri
synchronize #820
GP-803
Status Failure
Total duration 1m 52s
Artifacts

coding-standards.yml

on: pull_request
JavaScript Coding Standards
47s
JavaScript Coding Standards
PHP Coding Standards
1m 42s
PHP Coding Standards
CSS Coding Standards
23s
CSS Coding Standards
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 5 warnings
JavaScript Coding Standards: src/blocks/event-date/edit.js#L39
'start' is defined but never used
JavaScript Coding Standards: src/blocks/event-date/edit.js#L39
'end' is defined but never used
JavaScript Coding Standards: src/blocks/event-date/edit.js#L39
'tz' is defined but never used
JavaScript Coding Standards: src/blocks/event-date/edit.js#L48
React Hook "useSelect" is called in function "displayDateTime" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
JavaScript Coding Standards: src/blocks/event-date/edit.js#L85
Missing JSDoc @param "root0" type
JavaScript Coding Standards: src/blocks/event-date/edit.js#L86
Missing JSDoc @param "root0.attributes" type
JavaScript Coding Standards: src/blocks/event-date/edit.js#L87
Missing JSDoc @param "root0.attributes.textAlign" type
JavaScript Coding Standards: src/blocks/event-date/edit.js#L88
Missing JSDoc @param "root0.attributes.format" type
JavaScript Coding Standards: src/blocks/event-date/edit.js#L89
Missing JSDoc @param "root0.attributes.isLink" type
JavaScript Coding Standards: src/blocks/event-date/edit.js#L90
Missing JSDoc @param "root0.attributes.displayType" type
PHP Coding Standards
Process completed with exit code 2.
JavaScript Coding Standards
Cache save failed.
JavaScript Coding Standards: src/components/DateTimeRange.js#L70
React Hook useEffect has missing dependencies: 'dateTimeMetaData' and 'editPost'. Either include them or remove the dependency array
PHP Coding Standards
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/
PHP Coding Standards
The following actions use a deprecated Node.js version and will be forced to run on node20: 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/
PHP Coding Standards
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/