.php_cs - exclude file

This commit is contained in:
Dariusz Rumiński
2014-11-15 21:35:21 +01:00
parent e78436c983
commit 07c8faa73b
+6 -1
View File
@@ -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;