Pārlūkot izejas kodu

configure cs-fixer

Olivier Massot 1 gadu atpakaļ
vecāks
revīzija
f0dd8f2438
1 mainītis faili ar 10 papildinājumiem un 1 dzēšanām
  1. 10 1
      .php-cs-fixer.dist.php

+ 10 - 1
.php-cs-fixer.dist.php

@@ -2,7 +2,16 @@
 
 $finder = (new PhpCsFixer\Finder())
     ->in(__DIR__)
-    ->exclude('var')
+    ->exclude([
+        'bin',
+        'old',
+        'public',
+        'var',
+        'vendor',
+    ])
+    ->notPath([
+        'rector.php',
+    ])
 ;
 
 return (new PhpCsFixer\Config())