composer(deps-dev): update phpunit/phpunit requirement #1516
Annotations
3 warnings
Run mutation tests with infection/infection:
src/StreamFormatter.php#L383
Escaped Mutant for Mutator "TrueValue":
@@ @@
if (is_scalar($data)) {
return (string) $data;
}
- return $this->toJson($data, true);
+ return $this->toJson($data, false);
}
/** @throws void */
private function replaceNewlines(string $str): string
|
Run mutation tests with infection/infection:
src/StreamFormatterFactory.php#L55
Escaped Mutant for Mutator "FalseValue":
@@ @@
$allowInlineLineBreaks = false;
$maxNormalizeDepth = self::DEFAULT_NORMALIZER_DEPTH;
$maxNormalizeItemCount = self::DEFAULT_NORMALIZER_ITEM_COUNT;
- $prettyPrint = false;
+ $prettyPrint = true;
$includeStacktraces = false;
if (is_array($options)) {
if (array_key_exists('format', $options)) {
|
Run mutation tests with infection/infection:
src/StreamFormatterFactory.php#L106
Escaped Mutant for Mutator "MethodCallRemoval":
@@ @@
$formatter = new StreamFormatter($output, new Table($output), $format, $tableStyle, $dateFormat, $allowInlineLineBreaks, $includeStacktraces);
$formatter->setMaxNormalizeDepth($maxNormalizeDepth);
$formatter->setMaxNormalizeItemCount($maxNormalizeItemCount);
- $formatter->setJsonPrettyPrint($prettyPrint);
+
return $formatter;
}
}
|
Loading