Skip to content

Commit 71badee

Browse files
committed
Run php-cs-fixer sequentially so the void_return src-only customiser is applied
1 parent 209a984 commit 71badee

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.php-cs-fixer.dist.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,13 @@ public function getRuleCustomisers(): array
3434
return false;
3535
}
3636

37-
return !preg_match('#(^|/)tests/#', $file->getRelativePathname());
37+
return !preg_match('#(^|/)tests/#i', $file->getRelativePathname());
3838
},
3939
];
4040
}
4141
})
4242
->setRiskyAllowed(true)
43-
->setParallelConfig(ParallelConfigFactory::detect())
43+
// the void_return customiser above is dropped by parallel workers, so run sequentially
44+
->setParallelConfig(ParallelConfigFactory::sequential())
4445
->setFinder((new Finder())->in(__DIR__))
4546
;

0 commit comments

Comments
 (0)