Merge pull request #303 from mimmi20/dependabot/github_actions/master… #1194
Annotations
4 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3, paambaati/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run mutation tests with infection/infection:
src/StreamFormatter.php#L359
Escaped Mutant for Mutator "TrueValue":
--- Original
+++ New
@@ @@
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#L53
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
$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#L112
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
}
$formatter->setMaxNormalizeDepth($maxNormalizeDepth);
$formatter->setMaxNormalizeItemCount($maxNormalizeItemCount);
- $formatter->setJsonPrettyPrint($prettyPrint);
+
return $formatter;
}
}
|
The logs for this run have expired and are no longer available.
Loading