We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e16ca27 commit 7081fc1Copy full SHA for 7081fc1
preset-fixer/base.php
@@ -3,9 +3,7 @@
3
declare(strict_types=1);
4
5
$files = file(__DIR__ . '/../filelist.tmp', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
6
-$files = array_map(function ($path) {
7
- return new SplFileInfo($path);
8
-}, $files);
+$files = array_map(fn($path) => new SplFileInfo($path), $files);
9
10
$config = new PhpCsFixer\Config;
11
$config->registerCustomFixers([
0 commit comments