Skip to content

Commit

Permalink
Merge pull request #12 from ngdo-pro/patch-1
Browse files Browse the repository at this point in the history
Improve console output
  • Loading branch information
mnapoli committed Oct 4, 2018
2 parents 32a4b39 + ef1e9ce commit d72ce3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pretty
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ function assertPhpCodeSnifferIsInstalled($command)
echo <<<INSTRUCTIONS
ERROR: PHP CodeSniffer does not seem to be installed because the '$command' program cannot be found.
You can install it by following the instructions here: https://github.com/squizlabs/PHP_CodeSniffer#installation
INSTRUCTIONS;
exit(1);
}
Expand All @@ -105,6 +106,7 @@ function assertPhpCsFixerIsInstalled()
echo <<<'INSTRUCTIONS'
ERROR: PHP-CS-Fixer does not seem to be installed because the 'php-cs-fixer' program cannot be found.
You can install it by following the instructions here: https://github.com/FriendsOfPHP/PHP-CS-Fixer#installation

INSTRUCTIONS;
exit(1);
}
Expand All @@ -118,5 +120,6 @@ Available commands:
- pretty fix: fix as many errors as possible in the code
- pretty ci: runs an analysis in a continuous integration environment
- pretty help: displays this help

HELP;
}

0 comments on commit d72ce3d

Please sign in to comment.