File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
rules/CodingStyle/Rector/Stmt Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public function __construct(
2727 public function getRuleDefinition (): RuleDefinition
2828 {
2929 return new RuleDefinition (
30- 'Add empty new line after differnt -type statements to improve code readability ' ,
30+ 'Add empty new line after different -type statements to improve code readability ' ,
3131 [
3232 new CodeSample (
3333 <<<'CODE_SAMPLE'
Original file line number Diff line number Diff line change 2626use PhpParser \Node \Stmt \Trait_ ;
2727use PhpParser \Node \Stmt \TryCatch ;
2828use PhpParser \Node \Stmt \While_ ;
29+ use Rector \PhpParser \Node \CustomNode \FileWithoutNamespace ;
2930
3031final class NodeGroup
3132{
@@ -52,6 +53,7 @@ final class NodeGroup
5253 Namespace_::class,
5354 TryCatch::class,
5455 While_::class,
56+ FileWithoutNamespace::class,
5557 ];
5658
5759 /**
You can’t perform that action at this time.
0 commit comments