Installing PHP CodeSniffer (phpcs) on OS X
cd ~/
If is there “wget” command in your system. (You can install via Brew (HomeBrew)).
wget -nc https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
or download via cURL
curl -OL https://squizlabs.github.io/PHP_CodeSniffer/phpcs.phar
and then
sudo mv phpcs.phar /usr/local/bin/phpcs
sudo chmod +x /usr/local/bin/phpcs
HENÜZ YORUM YAPILMAMIŞ