mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 15:57:21 +01:00
Merge branch '2.x' into 3.x
This commit is contained in:
@ -6,7 +6,7 @@ namespace Pest;
|
||||
|
||||
function version(): string
|
||||
{
|
||||
return '3.0.0-dev-0005';
|
||||
return '3.0.0-dev-0006';
|
||||
}
|
||||
|
||||
function testDirectory(string $file = ''): string
|
||||
|
||||
@ -22,6 +22,10 @@ final class Printer implements HandlesArguments
|
||||
return $arguments;
|
||||
}
|
||||
|
||||
if (in_array('--no-output', $arguments, true)) {
|
||||
return $arguments;
|
||||
}
|
||||
|
||||
return $this->pushArgument('--no-output', $arguments);
|
||||
}
|
||||
}
|
||||
|
||||
@ -64,6 +64,8 @@ final class Exporter
|
||||
continue;
|
||||
}
|
||||
|
||||
assert(is_array($data));
|
||||
|
||||
$result[] = $context->contains($data[$key]) !== false
|
||||
? '*RECURSION*'
|
||||
: sprintf('[%s]', $this->shortenedRecursiveExport($data[$key], $context));
|
||||
|
||||
Reference in New Issue
Block a user