Nope it is not turned off, I've set my codeStyle
to Laravel
and even if I changed it to PSR-12
it is still not working.
Here is my User Settings
:
"[php]": {
"editor.defaultFormatter": "DEVSENSE.phptools-vscode",
},
"php.executablePath": "/usr/bin/php",
"php.problems.excludeGitIgnore": true,
"php.inlayHints.types.return": false,
"php.inlayHints.parameters.enabled": false,
"php.format.rules.arrayInitializersNewLineAfterLastElement": true,
"php.format.rules.keepControlStatementsOnOneLine": true,
"php.format.rules.spaceAfterCast": true,
"php.format.rules.alignConsecutiveAssignments": true,
"php.format.rules.arrayInitializersNewLineBeforeFirstElement": true,
"php.format.rules.spaceWithinArrayInitilizersParens": false,
"php.format.rules.groupUseNewLineBeforeFirstDeclaration": true,
"php.format.rules.switchStatementNewLineAfterLeftParen": true,
"php.format.rules.callParametersNewLineBeforeRightParen": true,
"php.format.rules.callParametersNewLineAfterLeftParen": true,
"php.format.rules.declParametersWrap": "onEveryItem",
"php.format.rules.arrayInitializersWrap": "always",
"php.format.rules.spaceAroundConcatenation": true,
"php.format.rules.spaceBeforeColonInReturnType": false,
"php.format.rules.spaceAfterUnaryNot": true,
"php.format.rules.groupUseWrap": "always",
"php.format.rules.removeReduntandClosingTag": true,
"php.format.rules.openBraceOnNewLineForFunctions": true,
"php.format.rules.addCommaAfterLastDeclParameter": false,
"php.format.rules.endWithNewLine": true,
"php.format.rules.implementsListWrap": "always",
"php.format.rules.declParametersNewLineAfterLeftParen": true,
"php.format.rules.callParametersWrap": "always",
"php.format.rules.addCommaAfterLastArrayElement": true,
"php.completion.parameters": "parentheses",
"php.format.rules.whileStatementNewLineBeforeRightParen": true,
"php.format.rules.whileStatementNewLineAfterLeftParen": true,
"php.format.rules.addCommaAfterLastCallParameter": true,
"php.format.rules.alignConstants": false,
"php.format.rules.alignEnumCases": true,
"php.format.rules.ifStatementNewLineBeforeRightParen": true,
"php.format.rules.alignMatchArmBodies": false,
"php.codeLens.enabled": false,
"php.format.rules.chainedMethodCallsWrap": "always",
"phpTools.language": "en",
"php.format.codeStyle": "Laravel",
"php.format.rules.arrayInitializersAlignKeyValuePairs": false,
And my workspace settings:
```
"[php]": {
"files.insertFinalNewline": true,
"editor.defaultFormatter": "DEVSENSE.phptools-vscode",
"editor.formatOnType": true,
"editor.formatOnSave": true,
},
"php.format.codeStyle": "PSR-12",
"php.version": "8.1",
```