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