Fix #31838. Fix php indentation rules regression

This commit is contained in:
rebornix 2017-08-01 16:47:36 -07:00
parent ffacb34d00
commit a204dc6133

View file

@ -16,7 +16,7 @@
{ "open": "\"", "close": "\"", "notIn": ["string"] }
],
"indentationRules": {
"increaseIndentPattern": "({(?!.+}).*|\\(|\\|((else(\s)?)?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*((\\})|(\\)+[;,])|(\\][;,])|\\b(else:)|\\b((end(if|for(each)?|while|switch));))"
}
}