Bläddra i källkod

.php_cs - exclude file

Dariusz Rumiński 11 år sedan
förälder
incheckning
07c8faa73b
1 ändrade filer med 6 tillägg och 1 borttagningar
  1. 6 1
      .php_cs

+ 6 - 1
.php_cs

@@ -9,8 +9,13 @@ $config = Config::create()
     ->setUsingCache(true)
     ->setUsingLinter(false);
 
-$config->getFinder()
+$finder = $config->getFinder()
     ->in(__DIR__)
     ->exclude('bin');
 
+// exclude file due to error on PHP 5.3 that ignore content after __halt_compiler when using token_get_all
+if (version_compare(PHP_VERSION, '5.4', '<')) {
+    $finder->notPath('test/Mustache/Test/Loader/InlineLoaderTest.php');
+}
+
 return $config;