This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
To run php on sublime: | |
* Select Tools->Build System->New Build System | |
* Copy the following code to the created file: | |
{ | |
"cmd" : ["php", "$file"], | |
"file_regex" : "php$", | |
"selector" : "source.php" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PROGRAMS=(phpmd php-cs-fixer phpcpd phploc) | |
for PROGRAM in ${PROGRAMS[*]}; | |
do | |
command -v $PROGRAM >/dev/null 2>&1 || { echo "I require $PROGRAM but it's not installed. Aborting." >&2; exit 1; } | |
done | |
echo "=======================================================================================" | |
echo "Fixing code standard" |
NewerOlder