Skip to content

Commit

Permalink
fix: correct sentence when something is wrong
Browse files Browse the repository at this point in the history
Signed-off-by: Jefersson Nathan <[email protected]>
  • Loading branch information
malukenho committed Jul 12, 2022
1 parent 084f382 commit 8d3a4c2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Command/Checker.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int

if (! $success) {
$output->writeln('');
$output->writeln('<bg=red;fg=white> Something goes wrong! </>');
$output->writeln('<bg=red;fg=white> Something went wrong! </>');

return 1;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ $command->run(
-> CorrectRegexHeader.php
-> MissingHeader.php

Something goes wrong!
Something went wrong!
2 changes: 1 addition & 1 deletion tests/functional/check-file-that-not-have-header.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ $checkRunner('tests/assets/MissingHeader.php');

-> MissingHeader.php

%ASomething goes wrong!
%ASomething went wrong!
2 changes: 1 addition & 1 deletion tests/functional/check-that-can-check-multiple-files.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ $checkRunner('tests/assets/CorrectHeader.php tests/assets/MissingHeader.php ');
--EXPECTF--
-> MissingHeader.php

%ASomething goes wrong!
%ASomething went wrong!

0 comments on commit 8d3a4c2

Please sign in to comment.