.php_cs 598 B

1234567891011121314151617181920
  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(__DIR__);
  11. // exclude file due to error on PHP 5.3 that ignore content after __halt_compiler when using token_get_all
  12. if (version_compare(PHP_VERSION, '5.4', '<')) {
  13. $finder->notPath('test/Mustache/Test/Loader/InlineLoaderTest.php');
  14. }
  15. return $config;