.php_cs 629 B

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