diff --git a/.php_cs b/.php_cs index 45bfb77..6fb0311 100644 --- a/.php_cs +++ b/.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;