On windows7 I have installed XAMPP with PEAR. I try install PHP_CodeSniffer but i obtain error No releases available for package “pear.php.net/PHP_CodeSNiffer”.
I try pear clear_cache, pear update-chanels
but still same error
Asked
Active
Viewed 2,082 times
0

mardon
- 1,065
- 1
- 11
- 29
1 Answers
1
Did you try both of the command below ?
pear install PHP_CodeSniffer
pear install --alldeps PHP_CodeSniffer
Or try below pear uninstall php_codesniffer pear config-set php_dir \xampp\php\pear pear install php_codesniffer
Or may be you can just download from git repository and use? https://github.com/squizlabs/PHP_CodeSniffer

Sandeep Agrawal
- 56
- 1
- 7