Skip to content

feat: added litespeed support #24

feat: added litespeed support

feat: added litespeed support #24

Triggered via pull request July 17, 2024 21:42
@tareq1988tareq1988
synchronize #6
litespeed
Status Failure
Total duration 23s
Artifacts

wpcs.yml

on: pull_request
Run PHPCS inspection
12s
Run PHPCS inspection
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
Run PHPCS inspection: views/admin.php#L21
Opening PHP tag must be on a line by itself
Run PHPCS inspection: views/admin.php#L21
Opening PHP tag must be on a line by itself
Run PHPCS inspection: views/admin.php#L22
Array item not aligned correctly; expected 4 spaces but found 24
Run PHPCS inspection: views/admin.php#L23
Array closer not aligned correctly; expected 0 space(s) but found 20
Run PHPCS inspection: views/admin.php#L23
Closing PHP tag must be on a line by itself
Run PHPCS inspection: includes/Admin/Litespeed.php#L50
$_GET data not unslashed before sanitization. Use wp_unslash() or similar
Run PHPCS inspection: includes/Admin/Litespeed.php#L50
Detected usage of a non-sanitized input variable: $_GET['_wpnonce']
Run PHPCS inspection: includes/Admin/Litespeed.php#L59
Not using strict comparison for in_array; supply true for third argument.
Run PHPCS inspection: includes/Admin/Litespeed.php#L59
$_GET data not unslashed before sanitization. Use wp_unslash() or similar
Run PHPCS inspection: includes/Admin/Litespeed.php#L59
Detected usage of a non-sanitized input variable: $_GET['type']
Run PHPCS inspection
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, 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/
Run PHPCS inspection: views/page-cache.php#L12
Processing form data without nonce verification.
Run PHPCS inspection: views/page-cache.php#L12
Processing form data without nonce verification.
Run PHPCS inspection: views/page-cache.php#L13
Processing form data without nonce verification.
Run PHPCS inspection: views/page-cache.php#L90
Found precision alignment of 1 spaces.
Run PHPCS inspection: views/page-cache.php#L95
Found precision alignment of 1 spaces.
Run PHPCS inspection: views/litespeed.php#L10
Processing form data without nonce verification.
Run PHPCS inspection: views/litespeed.php#L10
Processing form data without nonce verification.
Run PHPCS inspection: views/litespeed.php#L11
Processing form data without nonce verification.
Run PHPCS inspection: views/litespeed.php#L67
Found precision alignment of 1 spaces.
Run PHPCS inspection: includes/Admin.php#L105
Processing form data without nonce verification.