vscode-php-cs-fixer
vscode-php-cs-fixer copied to clipboard
Bug: Unable to use built in php-cs-fixer.phar?
In the README it says...
this extension has included php-cs-fixer.phar for beginner, maybe performance lower.
However when I install the extension and save some PHP code, it does not format the PHP Code and this error pops up
PHP CS Fixer: executablePath not found. Try setting
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar"and try again.
So I then set the extension path setting to ${extensionPath}/php-cs-fixer.phar and when I save some PHP code, I get this error message in the bottom status bar
Could not open input file: /home/john/.vscode-oss/extensions/junstyle.php-cs-fixer-0.3.21-universal/php-cs-fixer.phar