I have installed pear and php_beautifier with sudo...
From what I've read I should be able to format code with the command
php_beautifier x.php
But when I try to do this I get this error:
Warning: require_once(PEAR.php): failed to open stream: No such file or directory in /Users/philip/pear/bin/php_beautifier on line 37
Fatal error: require_once(): Failed opening required 'PEAR.php' (include_path='.:') in /Users/philip/pear/bin/php_beautifier on line 37
I have looked at the php_beautifier.php code and I don't know what's wrong. Line 37:
require_once 'PEAR.php';
and the file is in the same dir as pear.php?