Kaynağa Gözat

.php_cs - simplify

Dariusz Rumiński 11 yıl önce
ebeveyn
işleme
80d724f5f3
1 değiştirilmiş dosya ile 4 ekleme ve 9 silme
  1. 4 9
      .php_cs

+ 4 - 9
.php_cs

@@ -1,11 +1,6 @@
 <?php
 
-return Symfony\CS\Config\Config::create()->finder(Symfony\CS\Finder\DefaultFinder::create()
-    ->notName('LICENSE')
-    ->notName('README.md')
-    ->notName('composer.*')
-    ->notName('phpunit.xml.*')
-    ->notName('*.phar')
-    ->exclude('vendor')
-    ->in(__DIR__)
-);
+$config = new Symfony\CS\Config\Config();
+$config->getFinder()->exclude('bin');
+
+return $config;