From 913ba22d71a5a5d15c07d7d6aa81cb1df05fbc15 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 16 Jan 2025 05:48:49 +0100 Subject: [PATCH] cs --- preset-fixer/base.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/preset-fixer/base.php b/preset-fixer/base.php index 567e091..3ac9c0a 100644 --- a/preset-fixer/base.php +++ b/preset-fixer/base.php @@ -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([