Skip to content

Commit 171bd2d

Browse files
committed
Removed commented out code (ref #3495)
1 parent 454ec64 commit 171bd2d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Standards/Generic/Sniffs/Metrics/CyclomaticComplexitySniff.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ public function process(File $phpcsFile, $stackPtr)
7878
T_FOR => true,
7979
T_FOREACH => true,
8080
T_WHILE => true,
81-
// T_DO is not required for incrementing CYC, as the terminating while in a do/while loop triggers the branch.
82-
// T_DO => true.
8381
T_ELSEIF => true,
8482
T_INLINE_THEN => true,
8583
T_COALESCE => true,

0 commit comments

Comments
 (0)