diff --git a/.vscode/settings.json b/.vscode/settings.json index d3c86e74..b50ac1d3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,5 +9,37 @@ "javascript.preferences.quoteStyle": "double", "blade.format.enable": true, "html.format.wrapAttributes": "force", - "html.format.wrapLineLength": 0 + "html.format.wrapLineLength": 0, + "phpfmt.passes": [ + "AddMissingParentheses", + "AliasToMaster", + "AllmanStyleBraces", + "AutoSemicolon", + "ClassToSelf", + "ConvertOpenTagWithEcho", + "DoubleToSingleQuote", + "OrderAndRemoveUseClauses", + "OrganizeClass", + "ReindentSwitchBlocks", + "RemoveIncludeParentheses", + "RemoveSemicolonAfterCurly", + "RemoveUseLeadingSlash", + "ReplaceBooleanAndOr", + "ShortArray", + "SmartLnAfterCurlyOpen", + "SpaceAroundControlStructures", + "SpaceBetweenMethods", + "StripExtraCommaInArray", + "StripNewlineAfterClassOpen", + "StripNewlineAfterCurlyOpen", + "UpgradeToPreg", + "WrongConstructorName" + ], + "phpfmt.exclude": [ + "ReindentComments", + "StripNewlineWithinClassBody" + ], + "phpfmt.psr2": false, + "phpfmt.detect_indent": true, + "phpfmt.smart_linebreak_after_curly": true }