Skip to content

Commit

Permalink
yoda style
Browse files Browse the repository at this point in the history
  • Loading branch information
cdayjr committed Feb 22, 2024
1 parent 505b46d commit 844f96a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .php_cs.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,12 @@
'php_unit_size_class' => true,
// simplify if returns
'simplified_if_return' => true,
// simplify null returns
'simplified_null_return' => true,
// yoda style
'yoda_style' => [
'equal' => false,
'identical' => false,
'less_and_greater' => false,
],
]
)
->setFinder(
Expand Down

0 comments on commit 844f96a

Please sign in to comment.