| 123456789101112131415161718192021 |
- <?php
- use Symfony\CS\Config\Config;
- use Symfony\CS\FixerInterface;
- $config = Config::create()
- // use default level and extra fixers:
- ->fixers(array('-concat_without_spaces', 'concat_with_spaces', 'strict', 'strict_param'))
- ->setUsingCache(true)
- ->setUsingLinter(false);
- $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;
|