From 2081ca68848ac86840fe04dae03bf2afe468973b Mon Sep 17 00:00:00 2001 From: Gregor Harlan Date: Sun, 13 Oct 2024 17:01:57 +0200 Subject: [PATCH] Fix CS in CS config file --- .php-cs-fixer.dist.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 8ced335..3cd5c03 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -2,10 +2,16 @@ declare(strict_types=1); -$finder = (new PhpCsFixer\Finder()) +use PhpCsFixer\Finder; +use Redaxo\PhpCsFixerConfig\Config; + +$finder = (new Finder()) ->in(__DIR__) + ->append([ + __FILE__, + ]) ; -return (new Redaxo\PhpCsFixerConfig\Config()) +return (new Config()) ->setFinder($finder) ;