-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
I use your extension as a formatter like this:
"[php]": {
"editor.tabSize": 4,
"editor.formatOnSave": true,
"files.insertFinalNewline": true,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit"
},
"editor.defaultFormatter": "DEVSENSE.phptools-vscode"
},But it looks like it can't handle unset() properly.
It won't format this (other functions are formatted properly at this state):

But when I format it myself and save, it reformats the code to this:

Does the extension implement all the psr-12 standards properly?
Can it handle project standards eg. .php-cs-fixer.dist.php in project root?
Would be much better if it showed specific rules that are not met by the code and will trigger formatting on save. Just like stylelint or eslint do it in VSCode's Problems tab, eg.:
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done

