@@ -198,23 +198,23 @@ done
198198# #########
199199if [ " $PHPCS_ACTIVE " == " 1" ]; then
200200 echo " "
201- tput setaf 7 ; echo " :: PHP CodeSniffer inspection :: "
201+ tput setaf 12 ; echo " :: PHP CodeSniffer inspection :: "
202202 PHPCS_OUTPUT=$( $PHPCS_BIN -s $IGNORE_WARNINGS $PHPCS_CODING_STANDARD $ENCODING $IGNORE $STAGED_FILES )
203203 PHPCS_RETVAL=$?
204204
205205 if [ $PHPCS_RETVAL -ne 0 ]; then
206- tput setaf 1; echo " \u2718 Issues found: "
206+ tput setaf 1; echo " ✘ Issues found: "
207207 tput setaf 7; echo " $PHPCS_OUTPUT "
208208
209209 rm -rf $TMP_STAGING
210210
211211 exit $PHPCS_RETVAL
212212 else
213- tput setaf 2; echo " \u2714 Inspection is OK!"
213+ tput setaf 2; echo " ✔ Inspection is OK!"
214214 fi
215215else
216216 echo " "
217- tput setaf 8; echo " :-( PHP CodeSniffer inspection is OFF."
217+ tput setaf 8; echo " ➔ PHP CodeSniffer inspection is OFF."
218218fi
219219
220220
223223# #########
224224if [ " $PHPMD_ACTIVE " == " 1" ]; then
225225 echo " "
226- tput setaf 7 ; echo " :: PHP Mess Detector inspection :: "
226+ tput setaf 12 ; echo " :: PHP Mess Detector inspection :: "
227227 PHPMD_OUTPUT=$( $PHPMD_BIN $STAGED_FILES $PHPMD_OUTPUT $PHPMD_PATTERNS_LIST $PHPMD_SUFFIXES_LIST $PHPMD_EXCLUDE_LIST )
228228 PHPMD_RETVAL=$?
229229
230230 if [ $PHPMD_RETVAL -ne 0 ]; then
231- tput setaf 1; echo " \u2718 Issues found: "
231+ tput setaf 1; echo " ✘ Issues found: "
232232 tput setaf 7; echo " $PHPMD_OUTPUT "
233233
234234 rm -rf $TMP_STAGING
235235
236236 exit $PHPMD_RETVAL
237237 else
238- tput setaf 2; echo " '\u2714' Inspection is OK!"
238+ tput setaf 2; echo " ✔ Inspection is OK!"
239239 fi
240240else
241241 echo " "
242- tput setaf 8; echo " :-( PHP Mess Detector inspection is OFF."
242+ tput setaf 8; echo " ➔ PHP Mess Detector inspection is OFF."
243243fi
244244
245- tput setaf 7 ;
245+ tput setaf 12 ;
246246
247247
248248
0 commit comments