Skip to content

Commit

Permalink
Merge pull request #28 from moufmouf/build_timeout
Browse files Browse the repository at this point in the history
Increasing timeout for phpcbf
  • Loading branch information
moufmouf committed Sep 14, 2018
2 parents 416647d + a2d83a4 commit a67db72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generator/src/GenerateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ private function rmGenerated(): void
private function runCsFix(OutputInterface $output): void
{
$process = new Process('vendor/bin/phpcbf', __DIR__.'/../..');
$process->setTimeout(600);
$process->run(function ($type, $buffer) use ($output) {
if (Process::ERR === $type) {
echo $output->write('<error>'.$buffer.'</error>');
Expand Down

0 comments on commit a67db72

Please sign in to comment.