I am trying to beautify my code through code beautifier. So I typed -
sudo phpcbf -n --standard=PEAR filename.php
Its showing me phpcbf command not found. Then I tried to install phpcbf using the command-
sudo pear install --alldeps channel://pear.php.net/php_beautifier-0.1.15
And the output is -
pear/php_beautifier is already installed and is the same as the released version 0.1.15 install failed
why that happens? I can't find any helpful resource to resolve the issue.