Skip to content

chore(deps): update actions/checkout action to v4.1.6 #164

chore(deps): update actions/checkout action to v4.1.6

chore(deps): update actions/checkout action to v4.1.6 #164

Triggered via pull request May 16, 2024 21:06
Status Failure
Total duration 4m 1s
Artifacts

continuous-integration.yml

on: pull_request
Supported Versions Matrix
2s
Supported Versions Matrix
Matrix: Grumphp
Fit to window
Zoom out
Zoom in

Annotations

74 errors and 78 warnings
Grumphp (windows-latest, 8.2)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires PHP extension ext-ast * but it is missing from your system. Install or enable PHP's ast extension. To enable extensions, verify that they are enabled in your .ini files: - C:\tools\php\php.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-ast` to temporarily ignore these required extensions.
Grumphp (windows-latest, 8.2)
Process completed with exit code 2.
Grumphp (windows-latest, 8.3)
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires PHP extension ext-ast * but it is missing from your system. Install or enable PHP's ast extension. To enable extensions, verify that they are enabled in your .ini files: - C:\tools\php\php.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-ast` to temporarily ignore these required extensions.
Grumphp (windows-latest, 8.3)
Process completed with exit code 2.
Grumphp (ubuntu-latest, 8.3): src/Builder/Random.php#L62
Method loophp\phptree\Builder\Random::createNode() should return loophp\phptree\Node\NodeInterface but returns object.
Grumphp (ubuntu-latest, 8.3): src/Exporter/Gv.php#L125
Property loophp\phptree\Exporter\Gv::$attributes (array<array<string>|string>) does not accept array<int|string, mixed>.
Grumphp (ubuntu-latest, 8.3): src/Exporter/Gv.php#L144
Parameter #1 $object_or_class of function method_exists expects object|string, mixed given.
Grumphp (ubuntu-latest, 8.3): src/Importer/MicrosoftTolerantPhpParser.php#L40
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.3): src/Importer/NikicPhpAst.php#L48
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, ast\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, ast\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.3): src/Importer/NikicPhpAst.php#L56
Parameter #2 ...$astNodes of method loophp\phptree\Importer\NikicPhpAst::parseNode() expects ast\Node, object given.
Grumphp (ubuntu-latest, 8.3): src/Importer/NikicPhpParser.php#L68
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.3): src/Importer/SimpleArray.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\SimpleArray::parseNode() expects array, mixed given.
Grumphp (ubuntu-latest, 8.3): src/Importer/SimpleArray.php#L43
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, array): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, array): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.3): src/Importer/Text.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\Text::parseNode() expects string, mixed given.
Grumphp (ubuntu-latest, 8.2): src/Builder/Random.php#L62
Method loophp\phptree\Builder\Random::createNode() should return loophp\phptree\Node\NodeInterface but returns object.
Grumphp (ubuntu-latest, 8.2): src/Exporter/Gv.php#L125
Property loophp\phptree\Exporter\Gv::$attributes (array<array<string>|string>) does not accept array<int|string, mixed>.
Grumphp (ubuntu-latest, 8.2): src/Exporter/Gv.php#L144
Parameter #1 $object_or_class of function method_exists expects object|string, mixed given.
Grumphp (ubuntu-latest, 8.2): src/Importer/MicrosoftTolerantPhpParser.php#L40
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.2): src/Importer/NikicPhpAst.php#L48
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, ast\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, ast\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.2): src/Importer/NikicPhpAst.php#L56
Parameter #2 ...$astNodes of method loophp\phptree\Importer\NikicPhpAst::parseNode() expects ast\Node, object given.
Grumphp (ubuntu-latest, 8.2): src/Importer/NikicPhpParser.php#L68
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.2): src/Importer/SimpleArray.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\SimpleArray::parseNode() expects array, mixed given.
Grumphp (ubuntu-latest, 8.2): src/Importer/SimpleArray.php#L43
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, array): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, array): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.2): src/Importer/Text.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\Text::parseNode() expects string, mixed given.
Grumphp (ubuntu-latest, 8.1): src/Builder/Random.php#L62
Method loophp\phptree\Builder\Random::createNode() should return loophp\phptree\Node\NodeInterface but returns object.
Grumphp (ubuntu-latest, 8.1): src/Exporter/Gv.php#L125
Property loophp\phptree\Exporter\Gv::$attributes (array<array<string>|string>) does not accept array<int|string, mixed>.
Grumphp (ubuntu-latest, 8.1): src/Exporter/Gv.php#L144
Parameter #1 $object_or_class of function method_exists expects object|string, mixed given.
Grumphp (ubuntu-latest, 8.1): src/Importer/MicrosoftTolerantPhpParser.php#L40
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.1): src/Importer/NikicPhpAst.php#L48
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, ast\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, ast\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.1): src/Importer/NikicPhpAst.php#L56
Parameter #2 ...$astNodes of method loophp\phptree\Importer\NikicPhpAst::parseNode() expects ast\Node, object given.
Grumphp (ubuntu-latest, 8.1): src/Importer/NikicPhpParser.php#L68
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.1): src/Importer/SimpleArray.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\SimpleArray::parseNode() expects array, mixed given.
Grumphp (ubuntu-latest, 8.1): src/Importer/SimpleArray.php#L43
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, array): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, array): loophp\phptree\Node\NodeInterface given.
Grumphp (ubuntu-latest, 8.1): src/Importer/Text.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\Text::parseNode() expects string, mixed given.
Grumphp (macOS-latest, 8.1): src/Builder/Random.php#L62
Method loophp\phptree\Builder\Random::createNode() should return loophp\phptree\Node\NodeInterface but returns object.
Grumphp (macOS-latest, 8.1): src/Exporter/Gv.php#L125
Property loophp\phptree\Exporter\Gv::$attributes (array<array<string>|string>) does not accept array<int|string, mixed>.
Grumphp (macOS-latest, 8.1): src/Exporter/Gv.php#L144
Parameter #1 $object_or_class of function method_exists expects object|string, mixed given.
Grumphp (macOS-latest, 8.1): src/Importer/MicrosoftTolerantPhpParser.php#L40
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.1): src/Importer/NikicPhpAst.php#L48
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, ast\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, ast\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.1): src/Importer/NikicPhpAst.php#L56
Parameter #2 ...$astNodes of method loophp\phptree\Importer\NikicPhpAst::parseNode() expects ast\Node, object given.
Grumphp (macOS-latest, 8.1): src/Importer/NikicPhpParser.php#L68
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.1): src/Importer/SimpleArray.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\SimpleArray::parseNode() expects array, mixed given.
Grumphp (macOS-latest, 8.1): src/Importer/SimpleArray.php#L43
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, array): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, array): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.1): src/Importer/Text.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\Text::parseNode() expects string, mixed given.
Grumphp (macOS-latest, 8.3): src/Builder/Random.php#L62
Method loophp\phptree\Builder\Random::createNode() should return loophp\phptree\Node\NodeInterface but returns object.
Grumphp (macOS-latest, 8.3): src/Exporter/Gv.php#L125
Property loophp\phptree\Exporter\Gv::$attributes (array<array<string>|string>) does not accept array<int|string, mixed>.
Grumphp (macOS-latest, 8.3): src/Exporter/Gv.php#L144
Parameter #1 $object_or_class of function method_exists expects object|string, mixed given.
Grumphp (macOS-latest, 8.3): src/Importer/MicrosoftTolerantPhpParser.php#L40
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.3): src/Importer/NikicPhpAst.php#L48
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, ast\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, ast\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.3): src/Importer/NikicPhpAst.php#L56
Parameter #2 ...$astNodes of method loophp\phptree\Importer\NikicPhpAst::parseNode() expects ast\Node, object given.
Grumphp (macOS-latest, 8.3): src/Importer/NikicPhpParser.php#L68
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.3): src/Importer/SimpleArray.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\SimpleArray::parseNode() expects array, mixed given.
Grumphp (macOS-latest, 8.3): src/Importer/SimpleArray.php#L43
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, array): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, array): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.3): src/Importer/Text.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\Text::parseNode() expects string, mixed given.
Grumphp (macOS-latest, 8.2): src/Builder/Random.php#L62
Method loophp\phptree\Builder\Random::createNode() should return loophp\phptree\Node\NodeInterface but returns object.
Grumphp (macOS-latest, 8.2): src/Exporter/Gv.php#L125
Property loophp\phptree\Exporter\Gv::$attributes (array<array<string>|string>) does not accept array<int|string, mixed>.
Grumphp (macOS-latest, 8.2): src/Exporter/Gv.php#L144
Parameter #1 $object_or_class of function method_exists expects object|string, mixed given.
Grumphp (macOS-latest, 8.2): src/Importer/MicrosoftTolerantPhpParser.php#L40
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.2): src/Importer/NikicPhpAst.php#L48
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, ast\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, ast\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.2): src/Importer/NikicPhpAst.php#L56
Parameter #2 ...$astNodes of method loophp\phptree\Importer\NikicPhpAst::parseNode() expects ast\Node, object given.
Grumphp (macOS-latest, 8.2): src/Importer/NikicPhpParser.php#L68
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.2): src/Importer/SimpleArray.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\SimpleArray::parseNode() expects array, mixed given.
Grumphp (macOS-latest, 8.2): src/Importer/SimpleArray.php#L43
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, array): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, array): loophp\phptree\Node\NodeInterface given.
Grumphp (macOS-latest, 8.2): src/Importer/Text.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\Text::parseNode() expects string, mixed given.
Grumphp (windows-latest, 8.1): src/Builder/Random.php#L62
Method loophp\phptree\Builder\Random::createNode() should return loophp\phptree\Node\NodeInterface but returns object.
Grumphp (windows-latest, 8.1): src/Exporter/Gv.php#L125
Property loophp\phptree\Exporter\Gv::$attributes (array<array<string>|string>) does not accept array<int|string, mixed>.
Grumphp (windows-latest, 8.1): src/Exporter/Gv.php#L144
Parameter #1 $object_or_class of function method_exists expects object|string, mixed given.
Grumphp (windows-latest, 8.1): src/Importer/MicrosoftTolerantPhpParser.php#L40
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, Microsoft\PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (windows-latest, 8.1): src/Importer/NikicPhpAst.php#L48
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, ast\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, ast\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (windows-latest, 8.1): src/Importer/NikicPhpAst.php#L56
Parameter #2 ...$astNodes of method loophp\phptree\Importer\NikicPhpAst::parseNode() expects ast\Node, object given.
Grumphp (windows-latest, 8.1): src/Importer/NikicPhpParser.php#L68
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, PhpParser\Node): loophp\phptree\Node\NodeInterface given.
Grumphp (windows-latest, 8.1): src/Importer/SimpleArray.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\SimpleArray::parseNode() expects array, mixed given.
Grumphp (windows-latest, 8.1): src/Importer/SimpleArray.php#L43
Parameter #2 $callback of function array_reduce expects callable(loophp\phptree\Node\NodeInterface, array): loophp\phptree\Node\NodeInterface, Closure(loophp\phptree\Node\AttributeNodeInterface, array): loophp\phptree\Node\NodeInterface given.
Grumphp (windows-latest, 8.1): src/Importer/Text.php#L20
Parameter #2 ...$nodes of method loophp\phptree\Importer\Text::parseNode() expects string, mixed given.
Grumphp (windows-latest, 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kamiazya/setup-graphviz@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Grumphp (windows-latest, 8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: kamiazya/setup-graphviz@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Grumphp (windows-latest, 8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kamiazya/setup-graphviz@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Grumphp (windows-latest, 8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: kamiazya/setup-graphviz@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Grumphp (ubuntu-latest, 8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kamiazya/setup-graphviz@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Grumphp (ubuntu-latest, 8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: kamiazya/setup-graphviz@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Grumphp (ubuntu-latest, 8.3): src/Builder/Random.php#L30
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ continue; } if (!$root instanceof NodeInterface) { - continue; + break; } self::pickRandomNode($root)->add(self::createNode($value)); }
Grumphp (ubuntu-latest, 8.3): src/Builder/Random.php#L67
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = (int) random_int(-1, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (ubuntu-latest, 8.3): src/Builder/Random.php#L67
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (ubuntu-latest, 8.3): src/Builder/Random.php#L69
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ private static function pickRandomNode(NodeInterface $node) : NodeInterface { $pick = (int) random_int(0, $node->count()); - $i = 0; + $i = -1; foreach ($node->all() as $child) { if (++$i === $pick) { return $child;
Grumphp (ubuntu-latest, 8.3): src/Builder/Random.php#L71
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ { $pick = (int) random_int(0, $node->count()); $i = 0; - foreach ($node->all() as $child) { + foreach (array() as $child) { if (++$i === $pick) { return $child; }
Grumphp (ubuntu-latest, 8.3): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (--$i === $pick) { return $child; } }
Grumphp (ubuntu-latest, 8.3): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (++$i !== $pick) { return $child; } }
Grumphp (ubuntu-latest, 8.3): src/Exporter/Ascii.php#L34
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $exporter = new SimpleArray(); $tree = new RecursiveTreeIterator(new RecursiveArrayIterator($exporter->export($node)), RecursiveTreeIterator::SELF_FIRST, CachingIterator::CATCH_GET_CHILD, RecursiveTreeIterator::SELF_FIRST); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, '');
Grumphp (ubuntu-latest, 8.3): src/Exporter/Ascii.php#L37
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = '';
Grumphp (ubuntu-latest, 8.3): src/Exporter/Ascii.php#L38
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = ''; foreach ($tree as $value) {
Grumphp (ubuntu-latest, 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kamiazya/setup-graphviz@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Grumphp (ubuntu-latest, 8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: kamiazya/setup-graphviz@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Grumphp (ubuntu-latest, 8.2): src/Builder/Random.php#L30
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ continue; } if (!$root instanceof NodeInterface) { - continue; + break; } self::pickRandomNode($root)->add(self::createNode($value)); }
Grumphp (ubuntu-latest, 8.2): src/Builder/Random.php#L67
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = (int) random_int(-1, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (ubuntu-latest, 8.2): src/Builder/Random.php#L67
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (ubuntu-latest, 8.2): src/Builder/Random.php#L69
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ private static function pickRandomNode(NodeInterface $node) : NodeInterface { $pick = (int) random_int(0, $node->count()); - $i = 0; + $i = -1; foreach ($node->all() as $child) { if (++$i === $pick) { return $child;
Grumphp (ubuntu-latest, 8.2): src/Builder/Random.php#L71
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ { $pick = (int) random_int(0, $node->count()); $i = 0; - foreach ($node->all() as $child) { + foreach (array() as $child) { if (++$i === $pick) { return $child; }
Grumphp (ubuntu-latest, 8.2): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (--$i === $pick) { return $child; } }
Grumphp (ubuntu-latest, 8.2): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (++$i !== $pick) { return $child; } }
Grumphp (ubuntu-latest, 8.2): src/Exporter/Ascii.php#L34
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $exporter = new SimpleArray(); $tree = new RecursiveTreeIterator(new RecursiveArrayIterator($exporter->export($node)), RecursiveTreeIterator::SELF_FIRST, CachingIterator::CATCH_GET_CHILD, RecursiveTreeIterator::SELF_FIRST); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, '');
Grumphp (ubuntu-latest, 8.2): src/Exporter/Ascii.php#L37
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = '';
Grumphp (ubuntu-latest, 8.2): src/Exporter/Ascii.php#L38
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = ''; foreach ($tree as $value) {
Grumphp (ubuntu-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kamiazya/setup-graphviz@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Grumphp (ubuntu-latest, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: kamiazya/setup-graphviz@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Grumphp (ubuntu-latest, 8.1): src/Builder/Random.php#L30
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ continue; } if (!$root instanceof NodeInterface) { - continue; + break; } self::pickRandomNode($root)->add(self::createNode($value)); }
Grumphp (ubuntu-latest, 8.1): src/Builder/Random.php#L67
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = (int) random_int(-1, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (ubuntu-latest, 8.1): src/Builder/Random.php#L67
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (ubuntu-latest, 8.1): src/Builder/Random.php#L69
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ private static function pickRandomNode(NodeInterface $node) : NodeInterface { $pick = (int) random_int(0, $node->count()); - $i = 0; + $i = -1; foreach ($node->all() as $child) { if (++$i === $pick) { return $child;
Grumphp (ubuntu-latest, 8.1): src/Builder/Random.php#L71
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ { $pick = (int) random_int(0, $node->count()); $i = 0; - foreach ($node->all() as $child) { + foreach (array() as $child) { if (++$i === $pick) { return $child; }
Grumphp (ubuntu-latest, 8.1): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (--$i === $pick) { return $child; } }
Grumphp (ubuntu-latest, 8.1): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (++$i !== $pick) { return $child; } }
Grumphp (ubuntu-latest, 8.1): src/Exporter/Ascii.php#L34
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $exporter = new SimpleArray(); $tree = new RecursiveTreeIterator(new RecursiveArrayIterator($exporter->export($node)), RecursiveTreeIterator::SELF_FIRST, CachingIterator::CATCH_GET_CHILD, RecursiveTreeIterator::SELF_FIRST); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, '');
Grumphp (ubuntu-latest, 8.1): src/Exporter/Ascii.php#L37
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = '';
Grumphp (ubuntu-latest, 8.1): src/Exporter/Ascii.php#L38
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = ''; foreach ($tree as $value) {
Grumphp (macOS-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kamiazya/setup-graphviz@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Grumphp (macOS-latest, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: kamiazya/setup-graphviz@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Grumphp (macOS-latest, 8.1): src/Builder/Random.php#L30
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ continue; } if (!$root instanceof NodeInterface) { - continue; + break; } self::pickRandomNode($root)->add(self::createNode($value)); }
Grumphp (macOS-latest, 8.1): src/Builder/Random.php#L67
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = (int) random_int(-1, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (macOS-latest, 8.1): src/Builder/Random.php#L67
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (macOS-latest, 8.1): src/Builder/Random.php#L69
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ private static function pickRandomNode(NodeInterface $node) : NodeInterface { $pick = (int) random_int(0, $node->count()); - $i = 0; + $i = -1; foreach ($node->all() as $child) { if (++$i === $pick) { return $child;
Grumphp (macOS-latest, 8.1): src/Builder/Random.php#L71
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ { $pick = (int) random_int(0, $node->count()); $i = 0; - foreach ($node->all() as $child) { + foreach (array() as $child) { if (++$i === $pick) { return $child; }
Grumphp (macOS-latest, 8.1): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (--$i === $pick) { return $child; } }
Grumphp (macOS-latest, 8.1): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (++$i !== $pick) { return $child; } }
Grumphp (macOS-latest, 8.1): src/Exporter/Ascii.php#L34
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $exporter = new SimpleArray(); $tree = new RecursiveTreeIterator(new RecursiveArrayIterator($exporter->export($node)), RecursiveTreeIterator::SELF_FIRST, CachingIterator::CATCH_GET_CHILD, RecursiveTreeIterator::SELF_FIRST); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, '');
Grumphp (macOS-latest, 8.3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kamiazya/setup-graphviz@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Grumphp (macOS-latest, 8.1): src/Exporter/Ascii.php#L37
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = '';
Grumphp (macOS-latest, 8.3)
The following actions uses node12 which is deprecated and will be forced to run on node16: kamiazya/setup-graphviz@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Grumphp (macOS-latest, 8.1): src/Exporter/Ascii.php#L38
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = ''; foreach ($tree as $value) {
Grumphp (macOS-latest, 8.3): src/Builder/Random.php#L30
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ continue; } if (!$root instanceof NodeInterface) { - continue; + break; } self::pickRandomNode($root)->add(self::createNode($value)); }
Grumphp (macOS-latest, 8.3): src/Builder/Random.php#L67
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = (int) random_int(-1, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (macOS-latest, 8.3): src/Builder/Random.php#L67
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (macOS-latest, 8.3): src/Builder/Random.php#L69
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ private static function pickRandomNode(NodeInterface $node) : NodeInterface { $pick = (int) random_int(0, $node->count()); - $i = 0; + $i = -1; foreach ($node->all() as $child) { if (++$i === $pick) { return $child;
Grumphp (macOS-latest, 8.3): src/Builder/Random.php#L71
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ { $pick = (int) random_int(0, $node->count()); $i = 0; - foreach ($node->all() as $child) { + foreach (array() as $child) { if (++$i === $pick) { return $child; }
Grumphp (macOS-latest, 8.3): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (--$i === $pick) { return $child; } }
Grumphp (macOS-latest, 8.3): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (++$i !== $pick) { return $child; } }
Grumphp (macOS-latest, 8.3): src/Exporter/Ascii.php#L34
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $exporter = new SimpleArray(); $tree = new RecursiveTreeIterator(new RecursiveArrayIterator($exporter->export($node)), RecursiveTreeIterator::SELF_FIRST, CachingIterator::CATCH_GET_CHILD, RecursiveTreeIterator::SELF_FIRST); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, '');
Grumphp (macOS-latest, 8.3): src/Exporter/Ascii.php#L37
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = '';
Grumphp (macOS-latest, 8.3): src/Exporter/Ascii.php#L38
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = ''; foreach ($tree as $value) {
Grumphp (macOS-latest, 8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kamiazya/setup-graphviz@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Grumphp (macOS-latest, 8.2)
The following actions uses node12 which is deprecated and will be forced to run on node16: kamiazya/setup-graphviz@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Grumphp (macOS-latest, 8.2): src/Builder/Random.php#L30
Escaped Mutant for Mutator "Continue_": --- Original +++ New @@ @@ continue; } if (!$root instanceof NodeInterface) { - continue; + break; } self::pickRandomNode($root)->add(self::createNode($value)); }
Grumphp (macOS-latest, 8.2): src/Builder/Random.php#L67
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = (int) random_int(-1, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (macOS-latest, 8.2): src/Builder/Random.php#L67
Escaped Mutant for Mutator "CastInt": --- Original +++ New @@ @@ } private static function pickRandomNode(NodeInterface $node) : NodeInterface { - $pick = (int) random_int(0, $node->count()); + $pick = random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { if (++$i === $pick) {
Grumphp (macOS-latest, 8.2): src/Builder/Random.php#L69
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ private static function pickRandomNode(NodeInterface $node) : NodeInterface { $pick = (int) random_int(0, $node->count()); - $i = 0; + $i = -1; foreach ($node->all() as $child) { if (++$i === $pick) { return $child;
Grumphp (macOS-latest, 8.2): src/Builder/Random.php#L71
Escaped Mutant for Mutator "Foreach_": --- Original +++ New @@ @@ { $pick = (int) random_int(0, $node->count()); $i = 0; - foreach ($node->all() as $child) { + foreach (array() as $child) { if (++$i === $pick) { return $child; }
Grumphp (macOS-latest, 8.2): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Increment": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (--$i === $pick) { return $child; } }
Grumphp (macOS-latest, 8.2): src/Builder/Random.php#L72
Escaped Mutant for Mutator "Identical": --- Original +++ New @@ @@ $pick = (int) random_int(0, $node->count()); $i = 0; foreach ($node->all() as $child) { - if (++$i === $pick) { + if (++$i !== $pick) { return $child; } }
Grumphp (macOS-latest, 8.2): src/Exporter/Ascii.php#L34
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ { $exporter = new SimpleArray(); $tree = new RecursiveTreeIterator(new RecursiveArrayIterator($exporter->export($node)), RecursiveTreeIterator::SELF_FIRST, CachingIterator::CATCH_GET_CHILD, RecursiveTreeIterator::SELF_FIRST); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, '');
Grumphp (macOS-latest, 8.2): src/Exporter/Ascii.php#L37
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_LEFT, ''); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = '';
Grumphp (macOS-latest, 8.2): src/Exporter/Ascii.php#L38
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_HAS_NEXT, '├─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_END_LAST, '└─'); $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_RIGHT, ''); - $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_LAST, ' '); + $tree->setPrefixPart(RecursiveTreeIterator::PREFIX_MID_HAS_NEXT, '│ '); $output = ''; foreach ($tree as $value) {
Grumphp (windows-latest, 8.1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: kamiazya/setup-graphviz@v1, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Grumphp (windows-latest, 8.1)
The following actions uses node12 which is deprecated and will be forced to run on node16: kamiazya/setup-graphviz@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/