Skip to content

Cache the script settings #341

Cache the script settings

Cache the script settings #341

Triggered via pull request January 8, 2024 09:46
Status Failure
Total duration 39s
Artifacts

php-lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 2 warnings
PHPCS check
Process completed with exit code 2.
PHPCS check: src/Admin/AbstractOptionsPage.php#L253
Visibility must be declared on method "clear_script_settings_cache"
PHPCS check: src/Admin/AbstractOptionsPage.php#L253
Missing doc comment for function clear_script_settings_cache()
PHPCS check: src/Frontend/Frontend.php#L77
Expected 1 spaces before closing parenthesis; 0 found
PHPCS check: src/Frontend/Frontend.php#L78
No space after opening parenthesis is prohibited
PHPCS check: src/Frontend/Frontend.php#L78
Expected 1 space before "!"; 0 found
PHPCS check: src/Frontend/Frontend.php#L78
No space before closing parenthesis is prohibited
PHPCS check: src/Frontend/Frontend.php#L80
Opening parenthesis of a multi-line function call must be the last content on the line
PHPCS check
Process completed with exit code 1.
PHPCS check: src/Frontend/Frontend.php#L77
Equals sign not aligned correctly; expected 1 space but found 2 spaces
PHPStan
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/