.php_cs 607 B

123456789101112131415161718192021
  1. <?php
  2. use Symfony\CS\Config\Config;
  3. use Symfony\CS\FixerInterface;
  4. $config = Config::create()
  5. // use default level and extra fixers:
  6. ->fixers(array('-concat_without_spaces', 'concat_with_spaces', 'strict', 'strict_param'))
  7. ->setUsingCache(true)
  8. ->setUsingLinter(false);
  9. $finder = $config->getFinder()
  10. ->in(__DIR__)
  11. ->exclude('bin');
  12. // exclude file due to error on PHP 5.3 that ignore content after __halt_compiler when using token_get_all
  13. if (version_compare(PHP_VERSION, '5.4', '<')) {
  14. $finder->notPath('test/Mustache/Test/Loader/InlineLoaderTest.php');
  15. }
  16. return $config;