mirror of
https://github.com/twigphp/Twig.git
synced 2026-09-13 02:46:29 +00:00
Run php-cs-fixer sequentially so the void_return src-only customiser is applied
This commit is contained in:
@@ -34,12 +34,13 @@ return (new Config())
|
||||
return false;
|
||||
}
|
||||
|
||||
return !preg_match('#(^|/)tests/#', $file->getRelativePathname());
|
||||
return !preg_match('#(^|/)tests/#i', $file->getRelativePathname());
|
||||
},
|
||||
];
|
||||
}
|
||||
})
|
||||
->setRiskyAllowed(true)
|
||||
->setParallelConfig(ParallelConfigFactory::detect())
|
||||
// the void_return customiser above is dropped by parallel workers, so run sequentially
|
||||
->setParallelConfig(ParallelConfigFactory::sequential())
|
||||
->setFinder((new Finder())->in(__DIR__))
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user