Skip to content

Commit

Permalink
Add messaging on command run
Browse files Browse the repository at this point in the history
  • Loading branch information
mglaman committed Feb 2, 2022
1 parent 5927dd6 commit 62dfa4d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Command/CheckCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,16 @@ protected function execute(InputInterface $input, OutputInterface $output): int
unlink($configuration);

$output->writeln('<comment>Return PHPStan exit code</comment>', OutputInterface::VERBOSITY_DEBUG);

$output->writeln('Thanks for using <info>drupal-check</info>!');
$output->writeln('');
$output->writeln('Consider sponsoring the development of the maintainers which make <options=bold>drupal-check</> possible:');
$output->writeln('');
$output->writeln('- <options=bold>phpstan (ondrejmirtes)</>: https://github.com/sponsors/ondrejmirtes');
$output->writeln('- <options=bold>phpstan-deprecation-rules (ondrejmirtes))</>: https://github.com/sponsors/ondrejmirtes');
$output->writeln('- <options=bold>phpstan-drupal (mglaman))</>: https://github.com/sponsors/mglaman');
$output->writeln('- <options=bold>drupal-check (mglaman))</>: https://github.com/sponsors/mglaman');

return $process->getExitCode();
}
}

0 comments on commit 62dfa4d

Please sign in to comment.