|
251 | 251 | <rule ref="PSR2.ControlStructures.ElseIfDeclaration"/>
|
252 | 252 |
|
253 | 253 | <!-- Expressions in parentheses MAY be split across multiple lines, where each subsequent line is indented at least once. When doing so, the first condition MUST be on the next line. The closing parenthesis and opening brace MUST be placed together on their own line with one space between them. Boolean operators between conditions MUST always be at the beginning or at the end of the line, not a mix of both. -->
|
| 254 | + <!-- checked by PSR12.ControlStructures.ControlStructureSpacing --> |
| 255 | + <!-- checked by PSR12.ControlStructures.BooleanOperatorPlacement --> |
| 256 | + <!-- checked by Squiz.ControlStructures.ControlSignature --> |
254 | 257 |
|
255 | 258 | <!-- 5.2 switch, case -->
|
256 | 259 |
|
257 | 260 | <!-- The case statement MUST be indented once from switch, and the break keyword (or other terminating keywords) MUST be indented at the same level as the case body. There MUST be a comment such as // no break when fall-through is intentional in a non-empty case body. -->
|
258 | 261 | <rule ref="PSR2.ControlStructures.SwitchDeclaration"/>
|
259 | 262 |
|
260 | 263 | <!-- Expressions in parentheses MAY be split across multiple lines, where each subsequent line is indented at least once. When doing so, the first condition MUST be on the next line. The closing parenthesis and opening brace MUST be placed together on their own line with one space between them. Boolean operators between conditions MUST always be at the beginning or at the end of the line, not a mix of both. -->
|
| 264 | + <!-- checked by PSR12.ControlStructures.ControlStructureSpacing --> |
| 265 | + <!-- checked by PSR12.ControlStructures.BooleanOperatorPlacement --> |
| 266 | + <!-- checked by Squiz.ControlStructures.ControlSignature --> |
261 | 267 |
|
262 | 268 | <!-- 5.3.1 while -->
|
263 | 269 |
|
264 | 270 | <!-- Expressions in parentheses MAY be split across multiple lines, where each subsequent line is indented at least once. When doing so, the first condition MUST be on the next line. The closing parenthesis and opening brace MUST be placed together on their own line with one space between them. Boolean operators between conditions MUST always be at the beginning or at the end of the line, not a mix of both. -->
|
| 271 | + <!-- checked by PSR12.ControlStructures.ControlStructureSpacing --> |
| 272 | + <!-- checked by PSR12.ControlStructures.BooleanOperatorPlacement --> |
| 273 | + <!-- checked by Squiz.ControlStructures.ControlSignature --> |
265 | 274 |
|
266 | 275 | <!-- 5.3.2 do while -->
|
267 | 276 |
|
268 | 277 | <!-- Expressions in parentheses MAY be split across multiple lines, where each subsequent line is indented at least once. When doing so, the first condition MUST be on the next line. Boolean operators between conditions MUST always be at the beginning or at the end of the line, not a mix of both. -->
|
| 278 | + <!-- checked by PSR12.ControlStructures.ControlStructureSpacing --> |
| 279 | + <!-- checked by PSR12.ControlStructures.BooleanOperatorPlacement --> |
| 280 | + <!-- checked by Squiz.ControlStructures.ControlSignature --> |
269 | 281 |
|
270 | 282 | <!-- 5.4 for -->
|
271 | 283 |
|
272 | 284 | <!-- Expressions in parentheses MAY be split across multiple lines, where each subsequent line is indented at least once. When doing so, the first expression MUST be on the next line. The closing parenthesis and opening brace MUST be placed together on their own line with one space between them. -->
|
| 285 | + <!-- checked by PSR12.ControlStructures.ControlStructureSpacing --> |
| 286 | + <!-- checked by PSR12.ControlStructures.BooleanOperatorPlacement --> |
| 287 | + <!-- checked by Squiz.ControlStructures.ControlSignature --> |
273 | 288 |
|
274 | 289 | <!-- 5.5 foreach -->
|
275 | 290 |
|
|
0 commit comments