Skip to content

Commit

Permalink
Grammar fix (#6097)
Browse files Browse the repository at this point in the history
* Grammar fix

* Adjust expected output
  • Loading branch information
flack authored Jul 1, 2024
1 parent 1561c90 commit 436f0bc
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion e2e/applied-polyfill-php80/expected-output.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion e2e/applied-rule-change-docblock/expected-output.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion e2e/applied-rule-removed-node/expected-output.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion e2e/applied-rule-return-array-nodes/expected-output.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion e2e/different-path-over-skip-config/expected-output.diff
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ Applied rules:
* RemoveEmptyClassMethodRector


[OK] 1 file would have changed (dry-run) by Rector
[OK] 1 file would have been changed (dry-run) by Rector
2 changes: 1 addition & 1 deletion e2e/no-parallel-reflection-resolver/expected-output.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion e2e/parallel-custom-config/expected-output.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion e2e/parallel-reflection-resolver/expected-output.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/ChangesReporting/Output/ConsoleOutputFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
);
}
}

0 comments on commit 436f0bc

Please sign in to comment.