Closed higoka closed 3 years ago
Didn't tested it directly, but my guess is that if you make it executable and configure the path settings in sublime as follows, it should work:
// SublimePhpCsFixer Settings
{
path": "/path/to/php-cs-fixer.phar"
}
Another alternative is create a symlink to the phar file:
ln -s /path/to/php-cs-fixer.phar $HOME/bin/php-cs-fixer
Ok got it working. I only have one more problem. The exclude in my .phpcs file doesnt work. I think its because the --path-mode should be intersection. But there is no option to set it.
Allow usage without composer instead use the php-cs-fixer.phar executable.