Skip to content

Commit d72ce3d

Browse files
authored
Merge pull request #12 from ngdo-pro/patch-1
Improve console output
2 parents 32a4b39 + ef1e9ce commit d72ce3d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pretty

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ function assertPhpCodeSnifferIsInstalled($command)
9494
echo <<<INSTRUCTIONS
9595
ERROR: PHP CodeSniffer does not seem to be installed because the '$command' program cannot be found.
9696
You can install it by following the instructions here: https://github.com/squizlabs/PHP_CodeSniffer#installation
97+
9798
INSTRUCTIONS;
9899
exit(1);
99100
}
@@ -105,6 +106,7 @@ function assertPhpCsFixerIsInstalled()
105106
echo <<<'INSTRUCTIONS'
106107
ERROR: PHP-CS-Fixer does not seem to be installed because the 'php-cs-fixer' program cannot be found.
107108
You can install it by following the instructions here: https://github.com/FriendsOfPHP/PHP-CS-Fixer#installation
109+
108110
INSTRUCTIONS;
109111
exit(1);
110112
}
@@ -118,5 +120,6 @@ Available commands:
118120
- pretty fix: fix as many errors as possible in the code
119121
- pretty ci: runs an analysis in a continuous integration environment
120122
- pretty help: displays this help
123+
121124
HELP;
122125
}

0 commit comments

Comments
 (0)