Skip to content

NEW figuren-theater/code-quality (1.1.1) #2

NEW figuren-theater/code-quality (1.1.1)

NEW figuren-theater/code-quality (1.1.1) #2

Triggered via pull request February 27, 2024 11:21
@carstingaxioncarstingaxion
synchronize #28
develop
Status Failure
Total duration 3m 52s
Artifacts

build-test-measure.yml

on: pull_request
call-workflow-build-test-measure  /  Pre run
8s
call-workflow-build-test-measure / Pre run
call-workflow-build-test-measure  /  Lint: .json files
25s
call-workflow-build-test-measure / Lint: .json files
call-workflow-build-test-measure  /  Lint: CSS
0s
call-workflow-build-test-measure / Lint: CSS
call-workflow-build-test-measure  /  Lint: JS
0s
call-workflow-build-test-measure / Lint: JS
call-workflow-build-test-measure  /  Lint: PHP
25s
call-workflow-build-test-measure / Lint: PHP
call-workflow-build-test-measure  /  Static Analysis: PHP
3m 25s
call-workflow-build-test-measure / Static Analysis: PHP
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 10 warnings
call-workflow-build-test-measure / Lint: PHP: inc/users/namespace.php#L29
Expected 1 spaces after parameter type; 2 found
call-workflow-build-test-measure / Lint: PHP: inc/users/namespace.php#L54
Function name "__set_names" is invalid; only PHP magic methods should be prefixed with a double underscore
call-workflow-build-test-measure / Lint: PHP: inc/users/namespace.php#L77
Function name "__set_admin_color" is invalid; only PHP magic methods should be prefixed with a double underscore
call-workflow-build-test-measure / Lint: PHP: inc/preferred-languages/namespace.php#L14
Inline comments must end in full-stops, exclamation marks, or question marks
call-workflow-build-test-measure / Lint: PHP: inc/preferred-languages/namespace.php#L44
Inline comments must end in full-stops, exclamation marks, or question marks
call-workflow-build-test-measure / Lint: PHP: inc/preferred-languages/namespace.php#L64
Inline comments must end in full-stops, exclamation marks, or question marks
call-workflow-build-test-measure / Lint: PHP: inc/preferred-languages/namespace.php#L65
You must use "/**" style comments for a function comment
call-workflow-build-test-measure / Lint: PHP: inc/preferred-languages/namespace.php#L70
Inline comments must end in full-stops, exclamation marks, or question marks
call-workflow-build-test-measure / Lint: PHP: inc/preferred-languages/namespace.php#L72
Inline comments must end in full-stops, exclamation marks, or question marks
call-workflow-build-test-measure / Lint: PHP: inc/preferred-languages/namespace.php#L81
Inline comments must end in full-stops, exclamation marks, or question marks
call-workflow-build-test-measure / Static Analysis: PHP: inc/ft-core-block-domaincheck/namespace.php#L26
Function add_action invoked with 3 parameters, 0 required.
call-workflow-build-test-measure / Static Analysis: PHP: inc/impressum/namespace.php#L30
Function add_action invoked with 3 parameters, 0 required.
call-workflow-build-test-measure / Static Analysis: PHP: inc/impressum/namespace.php#L32
Function add_action invoked with 3 parameters, 0 required.
call-workflow-build-test-measure / Static Analysis: PHP: inc/impressum/namespace.php#L36
Function Figuren_Theater\Onboarding\Impressum\load_plugin() has no return type specified.
call-workflow-build-test-measure / Static Analysis: PHP: inc/impressum/namespace.php#L40
Function add_filter invoked with 4 parameters, 0 required.
call-workflow-build-test-measure / Static Analysis: PHP: inc/impressum/namespace.php#L46
Action callback returns array but should not return anything.
call-workflow-build-test-measure / Static Analysis: PHP: inc/impressum/namespace.php#L46
Function add_action invoked with 2 parameters, 0 required.
call-workflow-build-test-measure / Static Analysis: PHP: inc/impressum/namespace.php#L47
Action callback returns array but should not return anything.
call-workflow-build-test-measure / Static Analysis: PHP: inc/impressum/namespace.php#L47
Function add_action invoked with 2 parameters, 0 required.
call-workflow-build-test-measure / Lint: PHP: inc/users/namespace.php#L54
Function name "__set_names" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
call-workflow-build-test-measure / Lint: PHP: inc/users/namespace.php#L77
Function name "__set_admin_color" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
call-workflow-build-test-measure / Lint: PHP: inc/preferred-languages/namespace.php#L64
This comment is 54% valid code; is this commented out code?
call-workflow-build-test-measure / Lint: PHP: inc/sites/registration.php#L84
switch_to_blog() may not work as expected since it only changes the database context for the blog and does not load the plugins or theme of that site. Filters or hooks on the blog you are switching to will not run.
call-workflow-build-test-measure / Lint: PHP: inc/sites/registration.php#L89
This comment is 50% valid code; is this commented out code?
call-workflow-build-test-measure / Lint: PHP: inc/sites/registration.php#L101
File inclusion using custom constant (`Onboarding`). Probably needs manual inspection.
call-workflow-build-test-measure / Lint: PHP: inc/sites/registration.php#L109
This comment is 58% valid code; is this commented out code?
call-workflow-build-test-measure / Lint: PHP: inc/sites/registration.php#L118
This comment is 67% valid code; is this commented out code?
call-workflow-build-test-measure / Lint: PHP: inc/sites/registration.php#L120
This comment is 67% valid code; is this commented out code?
call-workflow-build-test-measure / Lint: PHP: inc/sites/registration.php#L122
This comment is 53% valid code; is this commented out code?