Skip to content

Commit 54fef11

Browse files
authored
Merge pull request #83 from PHPCSStandards/feature/psr2-controlstructurespacing-remove-t_else
PSR2/PSR12/ControlStructureSpacing: don't listen for `T_ELSE`
2 parents 931f475 + f4ac654 commit 54fef11

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public function register()
3838
T_FOREACH,
3939
T_FOR,
4040
T_SWITCH,
41-
T_ELSE,
4241
T_ELSEIF,
4342
T_CATCH,
4443
T_MATCH,

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public function register()
4444
T_FOREACH,
4545
T_FOR,
4646
T_SWITCH,
47-
T_ELSE,
4847
T_ELSEIF,
4948
T_CATCH,
5049
T_MATCH,

0 commit comments

Comments
 (0)