Skip to content

Commit 7f5eea4

Browse files
committed
feat: add rules
1 parent 0450f0f commit 7f5eea4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/RuleSets/DefaultSet.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,10 @@ public function rules(): array
139139
'import_constants' => true,
140140
],
141141
'self_static_accessor' => true,
142+
143+
'no_useless_else' => true,
144+
'no_useless_return' => true,
145+
142146
], $this->rules);
143147
}
144148
}

0 commit comments

Comments
 (0)