浏览代码

configure cs-fixer

Olivier Massot 1 年之前
父节点
当前提交
f0dd8f2438
共有 1 个文件被更改,包括 10 次插入1 次删除
  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())