Skip to content

Internal: admin menu [TMZ-55] #5

Internal: admin menu [TMZ-55]

Internal: admin menu [TMZ-55] #5

Triggered via pull request September 12, 2024 17:30
Status Failure
Total duration 25s
Billable time 1m
Artifacts

php-coding-standards.yml

on: pull_request
Lint PHP files
15s
Lint PHP files
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint PHP files: modules/content/classes/render/widget-zig-zag-render.php#L123
Multi-line function call not indented correctly; expected 24 spaces but found 28
Lint PHP files: modules/admin/components/settings.php#L38
Line indented incorrectly; expected 2 tabs, found 3
Lint PHP files: modules/content/widgets/zig-zag.php#L95
Functions must not contain multiple empty lines in a row; found 2 empty lines
Lint PHP files: modules/content/widgets/zig-zag.php#L153
Expected 0 spaces between parenthesis of function declaration; 2 found
Lint PHP files: modules/content/widgets/zig-zag.php#L249
There should be a comma after the last array item in a multi-line array.
Lint PHP files: modules/content/widgets/zig-zag.php#L424
There should be a comma after the last array item in a multi-line array.
Lint PHP files: modules/content/widgets/zig-zag.php#L676
Expected 0 spaces between parenthesis of function declaration; 2 found
Lint PHP files: modules/content/widgets/zig-zag.php#L690
Expected 1 space after the array opener in a single line array. Found: no spaces
Lint PHP files: modules/content/widgets/zig-zag.php#L690
Expected 1 space before the array closer in a single line array. Found: no spaces
Lint PHP files: modules/content/widgets/zig-zag.php#L713
Expected 1 space after the array opener in a single line array. Found: no spaces
Lint PHP files
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/
Lint PHP files: modules/admin/components/plugin-notice.php#L106
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.
Lint PHP files: modules/admin/components/settings.php#L54
In footer ($in_footer) is not set explicitly wp_enqueue_script; It is recommended to load scripts in the footer. Please set this value to `true` to load it in the footer, or explicitly `false` if it should be loaded in the header.