Skip to content

Commit 021dd48

Browse files
author
Alex
authored
Merge pull request #21 from kellerkinderDE/noticket/remove-yoda
Switch every yoda-style to non-yoda-style
2 parents 087c4b5 + 1aed04d commit 021dd48

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/DefaultRules.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ abstract class DefaultRules
3838
],
3939
],
4040
'phpdoc_to_comment' => false,
41-
'yoda_style' => false,
4241
'phpdoc_var_without_name' => false,
4342
'multiline_whitespace_before_semicolons' => true,
4443
'no_unused_imports' => true,
@@ -79,6 +78,11 @@ abstract class DefaultRules
7978
'method',
8079
],
8180
],
81+
'yoda_style' => [
82+
'equal' => false,
83+
'identical' => false,
84+
'less_and_greater' => false,
85+
],
8286
];
8387

8488
public static function getRules(): array

0 commit comments

Comments
 (0)