Skip to content

Commit

Permalink
Remove fixer comments
Browse files Browse the repository at this point in the history
  • Loading branch information
dingo-d committed Dec 3, 2022
1 parent a775e65 commit aac4f3a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Universal/Sniffs/DeclareStatements/BlockModeSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,6 @@ public function process(File $phpcsFile, $stackPtr)
);
return;
}
/*
* To do: Add a fixer
*
* But only if strict_types is on its own. In this case we should remove the last brace,
* remove the first one, and after the closing parenthesis add a comma.
*
* Add a fixable test for this case!
*/

// Check if there is a code between the declare statement and opening brace/alternative syntax.
$nextNonEmpty = $phpcsFile->findNext(Tokens::$emptyTokens, ($closeParenPtr + 1), null, true);
Expand Down

0 comments on commit aac4f3a

Please sign in to comment.