Skip to content

Fix: Update automatic update of League Table win, lose, and draw data #9

Fix: Update automatic update of League Table win, lose, and draw data

Fix: Update automatic update of League Table win, lose, and draw data #9

Triggered via pull request March 19, 2024 14:11
Status Failure
Total duration 42s
Artifacts

phpcs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 14 warnings
phpcs: includes/wpcm-stats-functions.php#L408
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs: includes/wpcm-stats-functions.php#L409
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs: includes/wpcm-stats-functions.php#L410
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs: includes/wpcm-stats-functions.php#L411
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs: includes/wpcm-stats-functions.php#L426
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs: includes/wpcm-stats-functions.php#L427
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs: includes/wpcm-stats-functions.php#L428
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs: includes/wpcm-stats-functions.php#L429
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs: includes/wpcm-stats-functions.php#L430
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs: includes/wpcm-stats-functions.php#L474
Cast statements must not contain whitespace; expected "(int)" but found "( int )"
phpcs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, pat-s/always-upload-cache@v1.1.4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpcs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, pat-s/always-upload-cache@v1.1.4. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpcs
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
phpcs
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
phpcs: includes/class-wpcm-install.php#L55
Processing form data without nonce verification.
phpcs: includes/class-wpcm-install.php#L64
Processing form data without nonce verification.
phpcs: includes/class-wpcm-install.php#L120
This comment is 52% valid code; is this commented out code?
phpcs: includes/class-wpcm-install.php#L126
This comment is 46% valid code; is this commented out code?
phpcs: includes/class-wpcm-install.php#L357
Not using strict comparison for in_array; supply true for $strict argument.
phpcs: includes/class-wpcm-install.php#L357
Not using strict comparison for in_array; supply true for $strict argument.
phpcs: includes/class-wpcm-install.php#L382
Passing the $delimiter parameter to preg_quote() is strongly recommended.
phpcs: includes/class-wpcm-install.php#L402
Passing the $delimiter parameter to preg_quote() is strongly recommended.
phpcs: includes/wpcm-formatting-functions.php#L26
This comment is 50% valid code; is this commented out code?
phpcs: includes/wpcm-formatting-functions.php#L28
This comment is 51% valid code; is this commented out code?