Skip to content

update composer on good tag for satellite-toolbox #48

update composer on good tag for satellite-toolbox

update composer on good tag for satellite-toolbox #48

Triggered via push December 4, 2023 15:11
Status Success
Total duration 56s
Artifacts 1
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

infection.yaml

on: push
infection
45s
infection
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
infection
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
infection: src/Compiler/Builder/ExpressionLanguageToPhpParserBuilder.php#L24
Escaped Mutant for Mutator "UnwrapArrayMerge": --- Original +++ New @@ @@ } public function getNode() : Node\Expr { - $expression = $this->interpreter->parse($this->expression, array_merge($this->variables, ['input', 'output'])); + $expression = $this->interpreter->parse($this->expression, ['input', 'output']); $inputNodes = (new ParserFactory())->create(ParserFactory::PREFER_PHP7, null)->parse('<?php ' . $this->interpreter->compile($expression, array_merge($this->variables, ['input', 'output'])) . ';'); /** @var Node\Expr $inputNodes */ $inputNode = $inputNodes[0];
infection: src/Compiler/Builder/ExpressionLanguageToPhpParserBuilder.php#L28
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ public function getNode() : Node\Expr { $expression = $this->interpreter->parse($this->expression, array_merge($this->variables, ['input', 'output'])); - $inputNodes = (new ParserFactory())->create(ParserFactory::PREFER_PHP7, null)->parse('<?php ' . $this->interpreter->compile($expression, array_merge($this->variables, ['input', 'output'])) . ';'); + $inputNodes = (new ParserFactory())->create(ParserFactory::PREFER_PHP7, null)->parse('<?php ' . $this->interpreter->compile($expression, array_merge($this->variables, ['output'])) . ';'); /** @var Node\Expr $inputNodes */ $inputNode = $inputNodes[0]; return $inputNode->expr; } }
infection: src/Compiler/Builder/ExpressionLanguageToPhpParserBuilder.php#L28
Escaped Mutant for Mutator "UnwrapArrayMerge": --- Original +++ New @@ @@ public function getNode() : Node\Expr { $expression = $this->interpreter->parse($this->expression, array_merge($this->variables, ['input', 'output'])); - $inputNodes = (new ParserFactory())->create(ParserFactory::PREFER_PHP7, null)->parse('<?php ' . $this->interpreter->compile($expression, array_merge($this->variables, ['input', 'output'])) . ';'); + $inputNodes = (new ParserFactory())->create(ParserFactory::PREFER_PHP7, null)->parse('<?php ' . $this->interpreter->compile($expression, $this->variables) . ';'); /** @var Node\Expr $inputNodes */ $inputNode = $inputNodes[0]; return $inputNode->expr; } }
infection: src/Compiler/Builder/ExpressionLanguageToPhpParserBuilder.php#L28
Escaped Mutant for Mutator "UnwrapArrayMerge": --- Original +++ New @@ @@ public function getNode() : Node\Expr { $expression = $this->interpreter->parse($this->expression, array_merge($this->variables, ['input', 'output'])); - $inputNodes = (new ParserFactory())->create(ParserFactory::PREFER_PHP7, null)->parse('<?php ' . $this->interpreter->compile($expression, array_merge($this->variables, ['input', 'output'])) . ';'); + $inputNodes = (new ParserFactory())->create(ParserFactory::PREFER_PHP7, null)->parse('<?php ' . $this->interpreter->compile($expression, ['input', 'output']) . ';'); /** @var Node\Expr $inputNodes */ $inputNode = $inputNodes[0]; return $inputNode->expr; } }
infection: src/Compiler/Builder/RequiredValuePreconditionBuilder.php#L27
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } public function getNode() : Node { - return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), ['stmts' => [new Node\Stmt\Throw_(new Node\Expr\New_(new Node\Name\FullyQualified(\RuntimeException::class), [new Node\Arg(new Node\Scalar\String_(strtr('Could not evaluate path %path%', ['%path%' => $this->propertyPath])))]))]]); + return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), []); } }
infection: src/Compiler/Builder/RequiredValuePreconditionBuilder.php#L28
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } public function getNode() : Node { - return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), ['stmts' => [new Node\Stmt\Throw_(new Node\Expr\New_(new Node\Name\FullyQualified(\RuntimeException::class), [new Node\Arg(new Node\Scalar\String_(strtr('Could not evaluate path %path%', ['%path%' => $this->propertyPath])))]))]]); + return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), ['stmts' => []]); } }
infection: src/Compiler/Builder/RequiredValuePreconditionBuilder.php#L30
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } public function getNode() : Node { - return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), ['stmts' => [new Node\Stmt\Throw_(new Node\Expr\New_(new Node\Name\FullyQualified(\RuntimeException::class), [new Node\Arg(new Node\Scalar\String_(strtr('Could not evaluate path %path%', ['%path%' => $this->propertyPath])))]))]]); + return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), ['stmts' => [new Node\Stmt\Throw_(new Node\Expr\New_(new Node\Name\FullyQualified(\RuntimeException::class), []))]]); } }
infection: src/Compiler/Builder/RequiredValuePreconditionBuilder.php#L34
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ } public function getNode() : Node { - return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), ['stmts' => [new Node\Stmt\Throw_(new Node\Expr\New_(new Node\Name\FullyQualified(\RuntimeException::class), [new Node\Arg(new Node\Scalar\String_(strtr('Could not evaluate path %path%', ['%path%' => $this->propertyPath])))]))]]); + return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), ['stmts' => [new Node\Stmt\Throw_(new Node\Expr\New_(new Node\Name\FullyQualified(\RuntimeException::class), [new Node\Arg(new Node\Scalar\String_(strtr('Could not evaluate path %path%', [])))]))]]); } }
infection: src/Compiler/Builder/RequiredValuePreconditionBuilder.php#L35
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ } public function getNode() : Node { - return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), ['stmts' => [new Node\Stmt\Throw_(new Node\Expr\New_(new Node\Name\FullyQualified(\RuntimeException::class), [new Node\Arg(new Node\Scalar\String_(strtr('Could not evaluate path %path%', ['%path%' => $this->propertyPath])))]))]]); + return new Node\Stmt\If_(new Node\Expr\BooleanNot(new Node\Expr\Isset_([(new PropertyPathBuilder($this->propertyPath, $this->pathNode))->getNode()])), ['stmts' => [new Node\Stmt\Throw_(new Node\Expr\New_(new Node\Name\FullyQualified(\RuntimeException::class), [new Node\Arg(new Node\Scalar\String_(strtr('Could not evaluate path %path%', ['%path%' > $this->propertyPath])))]))]]); } }
infection: src/Compiler/Compiler.php#L30
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } private function randomIdentifier() : string { - return hash('sha256', random_bytes(1024)); + return hash('sha256', random_bytes(1023)); } private function randomClassName(string $prefix) : string {

Artifacts

Produced during runtime
Name Size
artifact Expired
137 KB