Skip to content

PHPCS: Fix some warnings #75

PHPCS: Fix some warnings

PHPCS: Fix some warnings #75

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

php.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

13 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#L355
Equals sign not aligned correctly; expected 1 space but found 6 spaces
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L768
Loose comparisons are not allowed. Expected: "==="; Found: "=="
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L798
Found precision alignment of 1 spaces.
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L799
Found precision alignment of 1 spaces.
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L800
Found precision alignment of 1 spaces.
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L801
Found precision alignment of 1 spaces.
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L802
Found precision alignment of 1 spaces.
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L803
Found precision alignment of 1 spaces.
phpcs: ludicrousdb/includes/class-ludicrousdb.php#L803
Variable assignment found within a condition. Did you mean to do a comparison ?
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/