Skip to content

Commit

Permalink
Merge pull request #31786 from jens1o/jens1o-improve-php-cnfg
Browse files Browse the repository at this point in the history
Improve php language config
  • Loading branch information
rebornix authored Jul 31, 2017
2 parents 593ecbe + 519811c commit d53301d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions extensions/php/language-configuration.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
{ "open": "\"", "close": "\"", "notIn": ["string"] }
],
"indentationRules": {
"increaseIndentPattern": "({(?!.+}).*|\\(|\\[|((else)?if|else|for(each)?|while|switch).*:)\\s*(/[/*].*)?$",
"decreaseIndentPattern": "^(.*\\*/)?\\s*(}|(\\)+([;,]|\\s*{))|(\\]\\)*([;,]|$))|else:|((end(if|for(each)?|while|switch));))"
"increaseIndentPattern": "({(?!.+}).*|\\(|\\|((else(\s)?)?if|else|for(each)?|while|switch).*:)\\s*(\/(\/*).*)?)?$",
"decreaseIndentPattern": "^(.*\\*\/)?\\s*(}|(\\)+([;,]|\\s*{))|(\\]\\)*([;,]|$)|else:|((end(if|for(each)?|while|switch));)"
}
}
}

0 comments on commit d53301d

Please sign in to comment.