Installing PHP CodeSniffer (phpcs) on OS X

Installing PHP CodeSniffer (phpcs) on OS X

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

https://github.com/squizlabs/PHP_CodeSniffer

HENÜZ YORUM YAPILMAMIŞ

YORUM BIRAKIN

Yorum yapabilmek için zorunlu alanları doldurmanız gerekmektedir.
Belirteceğiniz e-posta adresi yayınlanmayacaktır.