Skip to content

Commit

Permalink
Add use_arrow_functions fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Jul 8, 2024
1 parent 4d9797a commit 7942dcf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ You can find and compare releases at the [GitHub release page](https://github.co

## Unreleased

## v5.8.0

### Added

- Add `use_arrow_functions` fixer

## v5.7.0

### Added
Expand Down
1 change: 1 addition & 0 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ function config(Finder $finder, array $ruleOverrides = []): Config
'phpdoc_to_comment' => false, // Intermediary PHPDocs are sometimes useful to provide type assertions for PHPStan
'single_line_empty_body' => true,
'single_line_throw' => false,
'use_arrow_functions' => true,
'yoda_style' => [ // Not necessary with static analysis, non-Yoda is more natural to write and read
'equal' => false,
'identical' => false,
Expand Down

0 comments on commit 7942dcf

Please sign in to comment.