Skip to content

Commit 7942dcf

Browse files
committed
Add use_arrow_functions fixer
1 parent 4d9797a commit 7942dcf

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ You can find and compare releases at the [GitHub release page](https://github.co
99

1010
## Unreleased
1111

12+
## v5.8.0
13+
14+
### Added
15+
16+
- Add `use_arrow_functions` fixer
17+
1218
## v5.7.0
1319

1420
### Added

config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ function config(Finder $finder, array $ruleOverrides = []): Config
6969
'phpdoc_to_comment' => false, // Intermediary PHPDocs are sometimes useful to provide type assertions for PHPStan
7070
'single_line_empty_body' => true,
7171
'single_line_throw' => false,
72+
'use_arrow_functions' => true,
7273
'yoda_style' => [ // Not necessary with static analysis, non-Yoda is more natural to write and read
7374
'equal' => false,
7475
'identical' => false,

0 commit comments

Comments
 (0)