mirror of
https://github.com/elyby/php-code-style.git
synced 2025-05-31 14:12:05 +05:30
Fixes #9. Add space before next meaningful line of code and skip comments
This commit is contained in:
@ -575,6 +575,14 @@ class Foo
|
||||
}
|
||||
}',
|
||||
];
|
||||
|
||||
yield [
|
||||
'<?php
|
||||
do {
|
||||
$a = 123;
|
||||
} while ($value > 10); // comment here
|
||||
',
|
||||
];
|
||||
}
|
||||
|
||||
protected function createFixer(): AbstractFixer {
|
||||
|
Reference in New Issue
Block a user