Skip to content

Commit

Permalink
Fixes non yoda_style rule moving variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Jubeki committed Sep 6, 2023
1 parent 276ab2d commit 21c077d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) princip
### Changed
### Removed

## 2.8.0
## 2.8.1
### Changed

- Add rule `yoda_style` (see [laravel/pint#210](https://github.com/laravel/pint/pull/210))
- Fixes non yoda_style rule moving variables (see [laravel/pint#213](https://github.com/laravel/pint/pull/213))

## 2.7.0
### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ class Config extends \PhpCsFixer\Config
],
'whitespace_after_comma_in_array' => true,
'yoda_style' => [
'always_move_variable' => true,
'always_move_variable' => false,
'equal' => false,
'identical' => false,
'less_and_greater' => false,
Expand Down

0 comments on commit 21c077d

Please sign in to comment.