Replacement callback, row-based filtering, and revision exclusion #166
code-quality.yml
on: pull_request
code-quality
/
Lint GitHub Actions workflows
11s
code-quality
/
Lint PHP files
20s
code-quality
/
Lint Gherkin Feature files
19s
code-quality
/
Spell check
3s
code-quality
/
PHPCS
26s
code-quality
/
PHPStan
26s
Annotations
13 errors and 10 warnings
|
code-quality / PHPStan
Process completed with exit code 1.
|
|
code-quality / PHPStan:
src/WP_CLI/SearchReplacer.php#L227
Call to static method error() on an unknown class WP_CLI\WP_CLI.
|
|
code-quality / PHPStan:
src/WP_CLI/SearchReplacer.php#L225
Call to static method error() on an unknown class WP_CLI\WP_CLI.
|
|
code-quality / PHPStan:
src/WP_CLI/SearchReplacer.php#L224
Undefined variable: $errors
|
|
code-quality / PHPStan:
src/WP_CLI/SearchReplacer.php#L222
Call to static method error() on an unknown class WP_CLI\WP_CLI.
|
|
code-quality / PHPStan:
src/WP_CLI/SearchReplacer.php#L209
Access to an undefined property WP_CLI\SearchReplacer::$callback.
|
|
code-quality / PHPStan:
src/WP_CLI/SearchReplacer.php#L196
Access to an undefined property WP_CLI\SearchReplacer::$callback.
|
|
code-quality / PHPStan:
src/WP_CLI/SearchReplacer.php#L79
Access to an undefined property WP_CLI\SearchReplacer::$callback.
|
|
code-quality / PHPStan:
src/Search_Replace_Command.php#L1238
Cannot assign offset '*' to string.
|
|
code-quality / PHPCS
Process completed with exit code 1.
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L465
Use Yoda Condition checks, you must.
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L465
The "fn" keyword for arrow functions is not present in PHP version 7.3 or earlier
|
|
code-quality / PHPCS
Process completed with exit code 2.
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L295
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 10 spaces
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L294
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 9 spaces
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L293
Equals sign not aligned with surrounding assignments; expected 10 spaces but found 8 spaces
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L292
Equals sign not aligned with surrounding assignments; expected 3 spaces but found 1 space
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L291
Equals sign not aligned with surrounding assignments; expected 16 spaces but found 14 spaces
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L290
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 9 spaces
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L289
Equals sign not aligned with surrounding assignments; expected 18 spaces but found 16 spaces
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L288
Equals sign not aligned with surrounding assignments; expected 19 spaces but found 17 spaces
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L287
Equals sign not aligned with surrounding assignments; expected 21 spaces but found 19 spaces
|
|
code-quality / PHPCS:
src/Search_Replace_Command.php#L286
Equals sign not aligned with surrounding assignments; expected 21 spaces but found 19 spaces
|