Skip to content

PHPCS code standard fixes #5

PHPCS code standard fixes

PHPCS code standard fixes #5

Triggered via pull request March 19, 2024 10:19
@polevaultwebpolevaultweb
synchronize #57
phpcs
Status Success
Total duration 34s
Artifacts

phpcs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 warnings
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 `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
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?