steevanb/php-parallel-processes

str_repeat(): Argument #2 ($times) must be greater than or equal to 0

Opened this issue · 0 comments

Fatal error: Uncaught ValueError: str_repeat(): Argument #2 ($times) must be greater than or equal to 0 in /composer/vendor/steevanb/php-parallel-processes/src/Console/Application/Theme/DefaultTheme.php:293
Stack trace:
#0 /composer/vendor/steevanb/php-parallel-processes/src/Console/Application/Theme/DefaultTheme.php(293): str_repeat(' ', -1)
#1 /composer/vendor/steevanb/php-parallel-processes/src/Console/Application/Theme/DefaultTheme.php(209): Steevanb\ParallelProcess\Console\Application\Theme\DefaultTheme->outputProcessState(Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput), Object(Steevanb\ParallelProcess\Process\Process), true)
#2 /composer/vendor/steevanb/php-parallel-processes/src/Console/Application/ParallelProcessesApplication.php(167): Steevanb\ParallelProcess\Console\Application\Theme\DefaultTheme->outputSummary(Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput), Object(Steevanb\ParallelProcess\Process\ProcessArray))
#3 /composer/vendor/symfony/console/Command/Command.php(289): Steevanb\ParallelProcess\Console\Application\ParallelProcessesApplication->runProcessesInParallel(Object(Symfony\Component\Console\Input\ArgvInput), Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput))
#4 /composer/vendor/symfony/console/SingleCommandApplication.php(52): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput))
#5 /composer/vendor/steevanb/php-parallel-processes/src/Console/Application/ParallelProcessesApplication.php(122): Symfony\Component\Console\SingleCommandApplication->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput))
#6 /composer/vendor/symfony/console/Application.php(989): Steevanb\ParallelProcess\Console\Application\ParallelProcessesApplication->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput))
#7 /composer/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand(Object(Steevanb\ParallelProcess\Console\Application\ParallelProcessesApplication), Object(Symfony\Component\Console\Input\ArgvInput), Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput))
#8 /composer/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput))
#9 /composer/vendor/symfony/console/SingleCommandApplication.php(65): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput))
#10 /composer/vendor/steevanb/php-parallel-processes/src/Console/Application/ParallelProcessesApplication.php(122): Symfony\Component\Console\SingleCommandApplication->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Steevanb\ParallelProcess\Console\Output\ConsoleBufferedOutput))
#11 /home/infodroid/dev/ubitransport/2cloud.services/bin/ci/doctrine-schema-validate.php(29): Steevanb\ParallelProcess\Console\Application\ParallelProcessesApplication->run(Object(Symfony\Component\Console\Input\ArgvInput))
#12 {main}
  thrown in /composer/vendor/steevanb/php-parallel-processes/src/Console/Application/Theme/DefaultTheme.php on line 293