feat: Add wp search-replace file subcommand for SQL file processing #417
code-quality.yml
on: pull_request
code-quality
/
Lint GitHub Actions workflows
6s
code-quality
/
Lint PHP files
14s
code-quality
/
Lint Gherkin Feature files
12s
code-quality
/
Spell check
7s
code-quality
/
PHPCS
19s
code-quality
/
PHPStan
23s
Annotations
4 errors and 20 warnings
|
code-quality / Spell check
Process completed with exit code 2.
|
|
code-quality / PHPCS
Process completed with exit code 1.
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L165
The use of strlen() inside a loop condition is not allowed; assign the return value to a variable and use the variable in the loop condition instead
|
|
code-quality / PHPCS
Process completed with exit code 2.
|
|
code-quality / Spell check:
tests/FileSearchReplacerTest.php#L212
"automattic" should be "automatic".
|
|
code-quality / Spell check:
tests/Fixtures/serialized/overlapping-non-serialized.expected.sql#L1
"automattic" should be "automatic".
|
|
code-quality / Spell check:
tests/FileSearchReplacerTest.php#L85
"automattic" should be "automatic".
|
|
code-quality / Spell check:
tests/FileSearchReplacerTest.php#L84
"automattic" should be "automatic".
|
|
code-quality / Spell check:
tests/FileSearchReplacerTest.php#L75
"automattic" should be "automatic".
|
|
code-quality / Spell check:
tests/FileSearchReplacerTest.php#L74
"automattic" should be "automatic".
|
|
code-quality / Spell check:
tests/FileSearchReplacerTest.php#L65
"automattic" should be "automatic".
|
|
code-quality / Spell check:
tests/FileSearchReplacerTest.php#L64
"automattic" should be "automatic".
|
|
code-quality / Spell check:
src/WP_CLI/FileSearchReplacer.php#L6
"Automattic" should be "Automatic".
|
|
code-quality / Spell check:
src/Search_Replace_File_Command.php#L10
"Automattic" should be "Automatic".
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L201
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L200
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L193
Stand-alone post-increment statement found. Use pre-increment instead: ++$current_content_index.
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L192
Stand-alone post-increment statement found. Use pre-increment instead: ++$content_byte_count.
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L184
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L182
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L176
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L175
Equals sign not aligned with surrounding assignments; expected 14 spaces but found 1 space
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L170
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 7 spaces
|
|
code-quality / PHPCS:
src/WP_CLI/FileSearchReplacer.php#L119
Equals sign not aligned correctly; expected 1 space but found 2 spaces
|