Skip to content

Bug: Unable to use built in php-cs-fixer.phar? #222

@trymeouteh

Description

@trymeouteh

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions