it folds! #122
Annotations
22 warnings
PHP 8.2 test on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.2 test on ubuntu-latest:
src/Formats/Traits/DetailsTrait.php#L18
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
trait DetailsTrait
{
- public function detailsOpen(bool $open = false): string
+ public function detailsOpen(bool $open = true): string
{
return '';
}
|
PHP 8.2 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L98
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
private function processMembers(): void
{
- $aux = 0;
+ $aux = -1;
$operator = $this->highlightOperator('=>');
foreach ($this->var as $key => $value) {
$aux++;
|
PHP 8.2 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L101
Escaped Mutant for Mutator "Increment":
--- Original
+++ New
@@ @@
$aux = 0;
$operator = $this->highlightOperator('=>');
foreach ($this->var as $key => $value) {
- $aux++;
+ $aux--;
if ($aux === 1) {
$open = $this->varDumper->depth() === 0;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
|
PHP 8.2 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L102
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$operator = $this->highlightOperator('=>');
foreach ($this->var as $key => $value) {
$aux++;
- if ($aux === 1) {
+ if ($aux === 2) {
$open = $this->varDumper->depth() === 0;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
if ($this->varDumper->format()->detailsClose() === '') {
|
PHP 8.2 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L102
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
$operator = $this->highlightOperator('=>');
foreach ($this->var as $key => $value) {
$aux++;
- if ($aux === 1) {
+ if ($aux !== 1) {
$open = $this->varDumper->depth() === 0;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
if ($this->varDumper->format()->detailsClose() === '') {
|
PHP 8.2 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L103
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
foreach ($this->var as $key => $value) {
$aux++;
if ($aux === 1) {
- $open = $this->varDumper->depth() === 0;
+ $open = $this->varDumper->depth() === -1;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
if ($this->varDumper->format()->detailsClose() === '') {
$this->varDumper->writer()->write("\n");
|
PHP 8.2 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L103
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
foreach ($this->var as $key => $value) {
$aux++;
if ($aux === 1) {
- $open = $this->varDumper->depth() === 0;
+ $open = $this->varDumper->depth() !== 0;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
if ($this->varDumper->format()->detailsClose() === '') {
$this->varDumper->writer()->write("\n");
|
PHP 8.2 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L104
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$aux++;
if ($aux === 1) {
$open = $this->varDumper->depth() === 0;
- $this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
+
if ($this->varDumper->format()->detailsClose() === '') {
$this->varDumper->writer()->write("\n");
}
|
PHP 8.2 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L111
Escaped Mutant for Mutator "IfNegation":
--- Original
+++ New
@@ @@
$this->varDumper->writer()->write("\n");
}
} else {
- if ($this->varDumper->needsPull()) {
+ if (!$this->varDumper->needsPull()) {
$this->varDumper->writer()->write($this->varDumper->format()->detailsPullUp());
$this->varDumper = $this->varDumper->withNeedsPull(false);
}
|
PHP 8.2 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L117
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$this->varDumper->writer()->write($this->varDumper->format()->detailsPullUp());
$this->varDumper = $this->varDumper->withNeedsPull(false);
}
- $this->varDumper->writer()->write("\n");
+
}
$indentString = $this->varDumper->indentString();
$format = $this->varDumper->format()->filterEncodedChars((string) $key);
|
PHP 8.1 test on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
PHP 8.1 test on ubuntu-latest:
src/Formats/Traits/DetailsTrait.php#L18
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
trait DetailsTrait
{
- public function detailsOpen(bool $open = false): string
+ public function detailsOpen(bool $open = true): string
{
return '';
}
|
PHP 8.1 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L98
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
}
private function processMembers(): void
{
- $aux = 0;
+ $aux = -1;
$operator = $this->highlightOperator('=>');
foreach ($this->var as $key => $value) {
$aux++;
|
PHP 8.1 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L101
Escaped Mutant for Mutator "Increment":
--- Original
+++ New
@@ @@
$aux = 0;
$operator = $this->highlightOperator('=>');
foreach ($this->var as $key => $value) {
- $aux++;
+ $aux--;
if ($aux === 1) {
$open = $this->varDumper->depth() === 0;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
|
PHP 8.1 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L102
Escaped Mutant for Mutator "IncrementInteger":
--- Original
+++ New
@@ @@
$operator = $this->highlightOperator('=>');
foreach ($this->var as $key => $value) {
$aux++;
- if ($aux === 1) {
+ if ($aux === 2) {
$open = $this->varDumper->depth() === 0;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
if ($this->varDumper->format()->detailsClose() === '') {
|
PHP 8.1 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L102
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
$operator = $this->highlightOperator('=>');
foreach ($this->var as $key => $value) {
$aux++;
- if ($aux === 1) {
+ if ($aux !== 1) {
$open = $this->varDumper->depth() === 0;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
if ($this->varDumper->format()->detailsClose() === '') {
|
PHP 8.1 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L103
Escaped Mutant for Mutator "DecrementInteger":
--- Original
+++ New
@@ @@
foreach ($this->var as $key => $value) {
$aux++;
if ($aux === 1) {
- $open = $this->varDumper->depth() === 0;
+ $open = $this->varDumper->depth() === -1;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
if ($this->varDumper->format()->detailsClose() === '') {
$this->varDumper->writer()->write("\n");
|
PHP 8.1 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L103
Escaped Mutant for Mutator "Identical":
--- Original
+++ New
@@ @@
foreach ($this->var as $key => $value) {
$aux++;
if ($aux === 1) {
- $open = $this->varDumper->depth() === 0;
+ $open = $this->varDumper->depth() !== 0;
$this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
if ($this->varDumper->format()->detailsClose() === '') {
$this->varDumper->writer()->write("\n");
|
PHP 8.1 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L104
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$aux++;
if ($aux === 1) {
$open = $this->varDumper->depth() === 0;
- $this->varDumper->writer()->write($this->varDumper->format()->detailsOpen($open));
+
if ($this->varDumper->format()->detailsClose() === '') {
$this->varDumper->writer()->write("\n");
}
|
PHP 8.1 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L111
Escaped Mutant for Mutator "IfNegation":
--- Original
+++ New
@@ @@
$this->varDumper->writer()->write("\n");
}
} else {
- if ($this->varDumper->needsPull()) {
+ if (!$this->varDumper->needsPull()) {
$this->varDumper->writer()->write($this->varDumper->format()->detailsPullUp());
$this->varDumper = $this->varDumper->withNeedsPull(false);
}
|
PHP 8.1 test on ubuntu-latest:
src/Processors/ArrayProcessor.php#L117
Escaped Mutant for Mutator "MethodCallRemoval":
--- Original
+++ New
@@ @@
$this->varDumper->writer()->write($this->varDumper->format()->detailsPullUp());
$this->varDumper = $this->varDumper->withNeedsPull(false);
}
- $this->varDumper->writer()->write("\n");
+
}
$indentString = $this->varDumper->indentString();
$format = $this->varDumper->format()->filterEncodedChars((string) $key);
|