PHPCS: Fix a bunch of errors #73
Annotations
3 errors and 13 warnings
phpcs:
ludicrousdb.php#L39
Use the __DIR__ constant instead of calling dirname(__FILE__) (PHP >= 5.3)
|
phpcs:
ludicrousdb.php#L40
Use the __DIR__ constant instead of calling dirname(__FILE__) (PHP >= 5.3)
|
phpcs
Process completed with exit code 1.
|
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#L690
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
phpcs:
ludicrousdb/includes/class-ludicrousdb.php#L753
Variable assignment found within a condition. Did you mean to do a comparison ?
|
phpcs:
ludicrousdb/includes/class-ludicrousdb.php#L756
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
phpcs:
ludicrousdb/includes/class-ludicrousdb.php#L756
Loose comparisons are not allowed. Expected: "==="; Found: "=="
|
phpcs:
ludicrousdb/includes/class-ludicrousdb.php#L786
Found precision alignment of 1 spaces.
|
phpcs:
ludicrousdb/includes/class-ludicrousdb.php#L787
Found precision alignment of 1 spaces.
|
phpcs:
ludicrousdb/includes/class-ludicrousdb.php#L788
Found precision alignment of 1 spaces.
|
phpcs:
ludicrousdb/includes/class-ludicrousdb.php#L789
Found precision alignment of 1 spaces.
|
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/
|