Skip to content

PHPCS: whitespace cleanup #77

PHPCS: whitespace cleanup

PHPCS: whitespace cleanup #77

Triggered via push June 18, 2024 20:32
Status Success
Total duration 21s
Artifacts

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
phpcs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/cache@v1. 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, actions/cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
phpcs: ludicrousdb.php#L46
Unused variable $wpdb.
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L1488
Variable assignment found within a condition. Did you mean to do a comparison ?
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L1490
Stand-alone post-increment statement found. Use pre-increment instead: ++$num_rows.
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L1909
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fsockopen().
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L1910
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fsockopen().
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L1920
File operations should use WP_Filesystem methods instead of direct PHP filesystem calls. Found: fclose().
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L2137
It is recommended not to use reserved keyword "string" as function parameter name. Found: $string
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/