Skip to content

feat: added optimizations #21

feat: added optimizations

feat: added optimizations #21

Triggered via pull request May 25, 2024 16:24
Status Failure
Total duration 23s
Artifacts

wpcs.yml

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

Annotations

10 errors and 11 warnings
Run PHPCS inspection: includes/Optimizations/Admin.php#L31
Opening parenthesis of a multi-line function call must be the last content on the line
Run PHPCS inspection: includes/Optimizations/Admin.php#L33
Closing parenthesis of a multi-line function call must be on a line by itself
Run PHPCS inspection: includes/Optimizations/Admin.php#L44
Opening parenthesis of a multi-line function call must be the last content on the line
Run PHPCS inspection: includes/Optimizations/Admin.php#L46
Closing parenthesis of a multi-line function call must be on a line by itself
Run PHPCS inspection: includes/Optimizations/Admin.php#L48
Opening parenthesis of a multi-line function call must be the last content on the line
Run PHPCS inspection: includes/Optimizations/Admin.php#L50
Closing parenthesis of a multi-line function call must be on a line by itself
Run PHPCS inspection: includes/Optimizations/Admin.php#L52
Opening parenthesis of a multi-line function call must be the last content on the line
Run PHPCS inspection: includes/Optimizations/Admin.php#L58
Closing parenthesis of a multi-line function call must be on a line by itself
Run PHPCS inspection: includes/Optimizations/Admin.php#L67
Opening parenthesis of a multi-line function call must be the last content on the line
Run PHPCS inspection: includes/Optimizations/Admin.php#L77
Closing parenthesis of a multi-line function call must be on a line by itself
Run PHPCS inspection
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Run PHPCS inspection: includes/Optimizations/General.php#L140
wp_redirect() found. Using wp_safe_redirect(), along with the allowed_redirect_hosts filter if needed, can help avoid any chances of malicious redirects within code. It is also important to remember to call exit() after a redirect so that no other unwanted code is executed.
Run PHPCS inspection: views/op-cache.php#L11
Processing form data without nonce verification.
Run PHPCS inspection: views/op-cache.php#L11
Processing form data without nonce verification.
Run PHPCS inspection: views/op-cache.php#L12
Processing form data without nonce verification.
Run PHPCS inspection: views/email.php#L19
Processing form data without nonce verification.
Run PHPCS inspection: views/email.php#L19
Processing form data without nonce verification.
Run PHPCS inspection: views/email.php#L70
Processing form data without nonce verification.
Run PHPCS inspection: views/email.php#L70
Processing form data without nonce verification.
Run PHPCS inspection: views/email.php#L76
Processing form data without nonce verification.
Run PHPCS inspection: views/email.php#L76
Processing form data without nonce verification.