Skip to content

Commit e18bb68

Browse files
authored
minor #1560 [tests] null string literal to null for process timeout
1 parent 0142e1f commit e18bb68

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Test/MakerTestProcess.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ public function setInput($input): self
4646
public function run($allowToFail = false, array $envVars = []): self
4747
{
4848
if (false !== ($timeout = getenv('MAKER_PROCESS_TIMEOUT'))) {
49+
if ('null' === $timeout) {
50+
$timeout = null;
51+
}
52+
4953
// Setting a value of null allows for step debugging
5054
$this->process->setTimeout($timeout);
5155
}

0 commit comments

Comments
 (0)