File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 <rule ref =" PHPCompatibility" />
2121 <config name =" testVersion" value =" 8.0-" />
2222
23+ <!-- Set indent for `break` to 0 so it aligns with `case` and `default` -->
24+ <rule ref =" PSR2.ControlStructures.SwitchDeclaration" >
25+ <properties ><property name =" indent" value =" 0" /></properties >
26+ </rule >
27+
2328 <!-- Include the whole PSR-12 standard -->
2429 <rule ref =" PSR12" >
2530 <!-- Until things have been cleaned up a bit, these violations are allowed -->
Original file line number Diff line number Diff line change @@ -272,10 +272,10 @@ private function getResponseType() {
272272 foreach ($ responseTypes as $ responseType ) {
273273 switch ($ responseType ) {
274274 case "token " :
275- return "token " ;
275+ return "token " ;
276276 break ;
277277 case "code " :
278- return "code " ;
278+ return "code " ;
279279 break ;
280280 }
281281 }
You can’t perform that action at this time.
0 commit comments