diff --git a/e2e/applied-polyfill-php80/expected-output.diff b/e2e/applied-polyfill-php80/expected-output.diff index 56a2dd36da2..7a0afecc41b 100644 --- a/e2e/applied-polyfill-php80/expected-output.diff +++ b/e2e/applied-polyfill-php80/expected-output.diff @@ -18,4 +18,4 @@ Applied rules: * StrStartsWithRector - [OK] 1 file would have changed (dry-run) by Rector + [OK] 1 file would have been changed (dry-run) by Rector diff --git a/e2e/applied-rule-change-docblock/expected-output.diff b/e2e/applied-rule-change-docblock/expected-output.diff index 07dc467cbae..c9de9c2cd34 100644 --- a/e2e/applied-rule-change-docblock/expected-output.diff +++ b/e2e/applied-rule-change-docblock/expected-output.diff @@ -37,4 +37,4 @@ Applied rules: * RemoveUselessVarTagRector - [OK] 2 files would have changed (dry-run) by Rector + [OK] 2 files would have been changed (dry-run) by Rector diff --git a/e2e/applied-rule-removed-node-with-cache/expected-output.diff b/e2e/applied-rule-removed-node-with-cache/expected-output.diff index 35e582faa99..5acfa51c1b0 100644 --- a/e2e/applied-rule-removed-node-with-cache/expected-output.diff +++ b/e2e/applied-rule-removed-node-with-cache/expected-output.diff @@ -37,4 +37,4 @@ Applied rules: * RemoveEmptyClassMethodRector - [OK] 2 files would have changed (dry-run) by Rector + [OK] 2 files would have been changed (dry-run) by Rector diff --git a/e2e/applied-rule-removed-node/expected-output.diff b/e2e/applied-rule-removed-node/expected-output.diff index 35e582faa99..5acfa51c1b0 100644 --- a/e2e/applied-rule-removed-node/expected-output.diff +++ b/e2e/applied-rule-removed-node/expected-output.diff @@ -37,4 +37,4 @@ Applied rules: * RemoveEmptyClassMethodRector - [OK] 2 files would have changed (dry-run) by Rector + [OK] 2 files would have been changed (dry-run) by Rector diff --git a/e2e/applied-rule-return-array-nodes/expected-output.diff b/e2e/applied-rule-return-array-nodes/expected-output.diff index 022d6510eb7..dfd4fc85593 100644 --- a/e2e/applied-rule-return-array-nodes/expected-output.diff +++ b/e2e/applied-rule-return-array-nodes/expected-output.diff @@ -44,4 +44,4 @@ Applied rules: * RemoveAlwaysElseRector - [OK] 2 files would have changed (dry-run) by Rector + [OK] 2 files would have been changed (dry-run) by Rector diff --git a/e2e/different-path-over-skip-config/expected-output.diff b/e2e/different-path-over-skip-config/expected-output.diff index 123176e8cc3..90ac7f492e4 100644 --- a/e2e/different-path-over-skip-config/expected-output.diff +++ b/e2e/different-path-over-skip-config/expected-output.diff @@ -18,4 +18,4 @@ Applied rules: * RemoveEmptyClassMethodRector - [OK] 1 file would have changed (dry-run) by Rector \ No newline at end of file + [OK] 1 file would have been changed (dry-run) by Rector \ No newline at end of file diff --git a/e2e/no-parallel-reflection-resolver/expected-output.diff b/e2e/no-parallel-reflection-resolver/expected-output.diff index a0b48087e3c..cf18bb04030 100644 --- a/e2e/no-parallel-reflection-resolver/expected-output.diff +++ b/e2e/no-parallel-reflection-resolver/expected-output.diff @@ -31,4 +31,4 @@ Applied rules: * RemoveUnusedPrivatePropertyRector - [OK] 2 files would have changed (dry-run) by Rector + [OK] 2 files would have been changed (dry-run) by Rector diff --git a/e2e/parallel-custom-config/expected-output.diff b/e2e/parallel-custom-config/expected-output.diff index 17f79a0c7ac..b36eaeaf68a 100644 --- a/e2e/parallel-custom-config/expected-output.diff +++ b/e2e/parallel-custom-config/expected-output.diff @@ -19,4 +19,4 @@ Applied rules: * DowngradeReadonlyPropertyRector - [OK] 1 file would have changed (dry-run) by Rector + [OK] 1 file would have been changed (dry-run) by Rector diff --git a/e2e/parallel-reflection-resolver/expected-output.diff b/e2e/parallel-reflection-resolver/expected-output.diff index a0b48087e3c..cf18bb04030 100644 --- a/e2e/parallel-reflection-resolver/expected-output.diff +++ b/e2e/parallel-reflection-resolver/expected-output.diff @@ -31,4 +31,4 @@ Applied rules: * RemoveUnusedPrivatePropertyRector - [OK] 2 files would have changed (dry-run) by Rector + [OK] 2 files would have been changed (dry-run) by Rector diff --git a/src/ChangesReporting/Output/ConsoleOutputFormatter.php b/src/ChangesReporting/Output/ConsoleOutputFormatter.php index 5533ec885f8..6ca631cc415 100644 --- a/src/ChangesReporting/Output/ConsoleOutputFormatter.php +++ b/src/ChangesReporting/Output/ConsoleOutputFormatter.php @@ -139,7 +139,7 @@ private function createSuccessMessage(ProcessResult $processResult, Configuratio '%d file%s %s by Rector', $changeCount, $changeCount > 1 ? 's' : '', - $configuration->isDryRun() ? 'would have changed (dry-run)' : ($changeCount === 1 ? 'has' : 'have') . ' been changed' + $configuration->isDryRun() ? 'would have been changed (dry-run)' : ($changeCount === 1 ? 'has' : 'have') . ' been changed' ); } }