From 90c419b0c4db2f79fd35965959fef3606431fab8 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 10 Jan 2023 22:37:35 +0000 Subject: [PATCH] avoid global pollution --- .php-cs-fixer.dist.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index f0d116ab..8a4d93aa 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,17 +1,17 @@ exclude('ext/amazon_s3/lib') ->exclude('vendor') ->exclude('data') ->in(__DIR__) ; -$config = new PhpCsFixer\Config(); -return $config->setRules([ +$_phpcs_config = new PhpCsFixer\Config(); +return $_phpcs_config->setRules([ '@PSR12' => true, //'strict_param' => true, 'array_syntax' => ['syntax' => 'short'], ]) - ->setFinder($finder) + ->setFinder($_phpcs_finder) ; \ No newline at end of file