From 80b6b2a811fb4587fd0e855c7b81d7cc6e62b0e2 Mon Sep 17 00:00:00 2001 From: Ahmed Ghanem Date: Wed, 8 May 2024 21:02:24 +0300 Subject: [PATCH] Limit PHP-CS-Fixer finder to `/src` & `/tests` directories --- .php-cs-fixer.dist.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 9cb571c..afc36aa 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -12,7 +12,8 @@ EOF; $finder = PhpCsFixer\Finder::create() - ->in(__DIR__) + ->in(__DIR__ . '/src') + ->in(__DIR__ . '/tests') ->ignoreVCSIgnored(true); return (new PhpCsFixer\Config())