Skip to content

Commit d1d8811

Browse files
committed
This sniff only applies to control structures with parenthesis
1 parent 6f4ac49 commit d1d8811

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Standards/PSR2/Sniffs/ControlStructures/ControlStructureSpacingSniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ public function register()
4444
T_FOREACH,
4545
T_FOR,
4646
T_SWITCH,
47-
T_DO,
4847
T_ELSE,
4948
T_ELSEIF,
50-
T_TRY,
5149
T_CATCH,
5250
];
5351

0 commit comments

Comments
 (0)