TMZ-54 ZigZag Figma Changes #7
php-coding-standards.yml
on: pull_request
Lint PHP files
16s
Annotations
10 errors and 4 warnings
Lint PHP files:
modules/content/classes/render/widget-zig-zag-render.php#L106
Array keys must be surrounded by spaces unless they contain a string or an integer.
|
Lint PHP files:
modules/content/classes/render/widget-zig-zag-render.php#L173
Multi-line function call not indented correctly; expected 24 spaces but found 28
|
Lint PHP files:
modules/settings/components/settings.php#L38
Line indented incorrectly; expected 2 tabs, found 3
|
Lint PHP files:
modules/content/widgets/zig-zag.php#L68
Expected 0 spaces between parenthesis of function declaration; 2 found
|
Lint PHP files:
modules/content/widgets/zig-zag.php#L154
Mismatched text domain. Expected 'hello-plus' but got 'elementor'.
|
Lint PHP files:
modules/content/widgets/zig-zag.php#L291
Mismatched text domain. Expected 'hello-plus' but got 'elementor'.
|
Lint PHP files:
modules/content/widgets/zig-zag.php#L408
Whitespace found at end of line
|
Lint PHP files:
modules/content/widgets/zig-zag.php#L444
Mismatched text domain. Expected 'hello-plus' but got 'elementor'.
|
Lint PHP files:
modules/content/widgets/zig-zag.php#L450
Mismatched text domain. Expected 'hello-plus' but got 'elementor'.
|
Lint PHP files:
modules/content/widgets/zig-zag.php#L451
Mismatched text domain. Expected 'hello-plus' but got 'elementor'.
|
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/content/classes/render/widget-zig-zag-render.php#L76
Usage of ELSE IF is discouraged; use ELSEIF instead
|
Lint PHP files:
modules/settings/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.
|