From 07c8faa73bf401cc9685fea01fb8b1d0a98b7119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dariusz=20Rumi=C5=84ski?= Date: Sat, 15 Nov 2014 21:21:19 +0100 Subject: [PATCH] .php_cs - exclude file --- .php_cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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;