vysker / vscode-php-formatter

Visual Studio Code extension. A wrapper for the Sensiolabs PHP CS Fixer. Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible).
MIT License
93 stars 12 forks source link

unworkable with default arguments setting #13

Closed daveswong closed 7 years ago

daveswong commented 7 years ago
    // Add arguments to the executed fix command, like so: ['--level=psr2', '--fixers=linefeed,short_tag,indentation'].
    "phpformatter.arguments": [
        "--level=psr2"
    ],

Console

The "--level" option does not exist.

vysker commented 7 years ago

PHP CS Fixer recently released an update. The --level argument has been renamed to --rules. More details can be found here.

vysker commented 7 years ago

Closed this because there has been no response and I believe this should be the proper fix.