From 5f771c013842d164021797d84733f9d6ac468951 Mon Sep 17 00:00:00 2001 From: Shish Date: Tue, 14 Dec 2021 18:33:53 +0000 Subject: [PATCH] add the config file --- .php-cs-fixer.dist.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .php-cs-fixer.dist.php diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php new file mode 100644 index 00000000..f2bd1ae1 --- /dev/null +++ b/.php-cs-fixer.dist.php @@ -0,0 +1,19 @@ +exclude('ext/amazon_s3/lib') + ->exclude('vendor') + ->exclude('data') + ->in(__DIR__) +; + +$config = new PhpCsFixer\Config(); +return $config->setRules([ + '@PSR12' => true, + //'strict_param' => true, + 'array_syntax' => ['syntax' => 'short'], + ]) + ->setFinder($finder) +; + +?>