Skip to content

Header controls and styles [TMZ-60] #67

Header controls and styles [TMZ-60]

Header controls and styles [TMZ-60] #67

Triggered via pull request October 11, 2024 16:48
Status Failure
Total duration 26s
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 6 warnings
Lint PHP files: modules/template-parts/widgets/header.php#L92
Space found before comma in argument list
Lint PHP files: modules/template-parts/widgets/header.php#L93
There should be a comma after the last array item in a multi-line array.
Lint PHP files: modules/template-parts/widgets/header.php#L104
Mismatched text domain. Expected 'hello-plus' but got 'elementor-pro'.
Lint PHP files: modules/template-parts/classes/traits/shared-header-traits.php#L16
Space found before comma in argument list
Lint PHP files: modules/template-parts/classes/traits/shared-header-traits.php#L21
Tabs must be used to indent lines; spaces are not allowed
Lint PHP files: modules/template-parts/classes/traits/shared-header-traits.php#L22
Tabs must be used to indent lines; spaces are not allowed
Lint PHP files: modules/template-parts/classes/traits/shared-header-traits.php#L24
Tabs must be used to indent lines; spaces are not allowed
Lint PHP files: modules/template-parts/classes/traits/shared-header-traits.php#L25
Tabs must be used to indent lines; spaces are not allowed
Lint PHP files: modules/template-parts/classes/traits/shared-header-traits.php#L26
Tabs must be used to indent lines; spaces are not allowed
Lint PHP files: modules/template-parts/classes/traits/shared-header-traits.php#L28
Line indented incorrectly; expected 1 tabs, found 3 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/template-parts/classes/traits/shared-header-traits.php#L28
Found precision alignment of 3 spaces.
Lint PHP files: modules/template-parts/classes/render/widget-header-render.php#L271
Not using strict comparison for in_array; supply true for $strict argument.
Lint PHP files: modules/template-parts/classes/render/widget-header-render.php#L301
The method parameter $depth is never used
Lint PHP files: modules/template-parts/classes/render/widget-header-render.php#L301
The method parameter $args is never used
Lint PHP files: modules/template-parts/classes/render/widget-header-render.php#L303
Not using strict comparison for in_array; supply true for $strict argument.