Skip to content

Fix PHPStan

Fix PHPStan #180

Triggered via push August 23, 2024 10:03
Status Failure
Total duration 18s
Artifacts
Static Code Analysis
9s
Static Code Analysis
Fit to window
Zoom out
Zoom in

Annotations

1 error and 12 warnings
Static Code Analysis: Plugin/AddCspInlineScripts.php#L10
PHP syntax error: syntax error, unexpected 'ReplaceInlineScripts' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Static Code Analysis
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Static Code Analysis
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Static Code Analysis: Convertor/ConvertWrapper.php#L51
Expected "foreach (...) {\n"; found "foreach (...){\n"
Static Code Analysis: Convertor/ConvertWrapper.php#L51
Expected 1 space(s) after closing parenthesis; found 0
Static Code Analysis: view/frontend/templates/test/multiple_existing_picturesets.phtml#L1
Each PHP statement must be on a line by itself
Static Code Analysis: view/frontend/templates/test/multiple_existing_picturesets.phtml#L1
Each PHP statement must be on a line by itself
Static Code Analysis: view/frontend/templates/test/multiple_existing_picturesets.phtml#L1
Each PHP statement must be on a line by itself
Static Code Analysis: view/frontend/templates/test/multiple_existing_picturesets.phtml#L1
Line exceeds 120 characters; contains 658 characters
Static Code Analysis: view/frontend/templates/test/multiple_images_same.phtml#L1
Each PHP statement must be on a line by itself
Static Code Analysis: view/frontend/templates/test/multiple_images_same.phtml#L1
Each PHP statement must be on a line by itself
Static Code Analysis: view/frontend/templates/test/multiple_images_same.phtml#L1
Line exceeds 120 characters; contains 592 characters
Static Code Analysis: view/frontend/templates/test/image_with_custom_style.phtml#L1
Each PHP statement must be on a line by itself