File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/PHPCR/Util/CND/Scanner Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ preset: psr2
22
33enabled :
44 - short_array_syntax
5- - duplicate_semicolon
5+ - duplicate_semicolon
6+ - no_useless_else
Original file line number Diff line number Diff line change @@ -195,13 +195,12 @@ protected function consumeBlockComments(ReaderInterface $reader)
195195
196196 // End of file reached and no end delimiter found, error
197197 throw new ScannerException ($ reader , "Unterminated block comment " );
198- } else {
198+ }
199199
200- // Start delimiter not found, rewind the looked up characters
201- $ reader ->rewind ();
200+ // Start delimiter not found, rewind the looked up characters
201+ $ reader ->rewind ();
202202
203- return false ;
204- }
203+ return false ;
205204 }
206205 }
207206
You can’t perform that action at this time.
0 commit comments