Level 30
You have to specify full path.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi guys Im trying to use php fixer with PSR2.
Ive created a file "PHP.sublime-bluid" with this:
{
"shell_cmd": "php php-cs-fixer.phar fix $file --level=psr2"
}
But it gives me an error when I use "cmd + b"
Could not open input file: php-cs-fixer.phar.
I dont know what im doing wrong :(
Something like
{
"shell_cmd": "php /your/path/to/php-cs-fixer.phar fix $file --level=psr2"
}
Hope that helps.
Please or to participate in this conversation.