Skip to content

Commit

Permalink
cs
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Jan 16, 2025
1 parent 60e4a28 commit 5d6cbcd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions preset-fixer/base.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
declare(strict_types=1);

$files = file(__DIR__ . '/../filelist.tmp', FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES);
$files = array_map(function ($path) {
return new SplFileInfo($path);
}, $files);
$files = array_map(fn($path) => new SplFileInfo($path), $files);

$config = new PhpCsFixer\Config;
$config->registerCustomFixers([
Expand Down

0 comments on commit 5d6cbcd

Please sign in to comment.