Skip to content

Instantly share code, notes, and snippets.

View cirops's full-sized avatar
🏠
Working from home

Ciro Plá cirops

🏠
Working from home
View GitHub Profile
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"
}
@cirops
cirops / qa.sh
Created December 10, 2012 14:16 — forked from krolow/qa.sh
Quality Assurance PHP (checks if the programs exist in the system)
#!/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"