|
@@ -9,8 +9,13 @@ $config = Config::create()
|
|
|
->setUsingCache(true)
|
|
->setUsingCache(true)
|
|
|
->setUsingLinter(false);
|
|
->setUsingLinter(false);
|
|
|
|
|
|
|
|
-$config->getFinder()
|
|
|
|
|
|
|
+$finder = $config->getFinder()
|
|
|
->in(__DIR__)
|
|
->in(__DIR__)
|
|
|
->exclude('bin');
|
|
->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;
|
|
return $config;
|