Skip to content

Introduces treverse method #119

Introduces treverse method

Introduces treverse method #119

Triggered via pull request October 28, 2024 19:26
Status Success
Total duration 54s
Artifacts

test.yml

on: pull_request
Matrix: tests
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
🐘 Test on PHP 8.0: src/Config.php#L193
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ // Continue to the next callback } if ($signal === SignalCode::STOP_TRAVERSAL) { - return false; + return true; // Stop traversal immediately } if ($signal === SignalCode::REMOVE_NODE) {
🐘 Test on PHP 8.0: src/Config.php#L213
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ $continue = $this->traverseArray($current, $visitors, $path); if (!$continue) { // Stop the current iteration - return false; + return true; // Propagate the stop signal upwards } }
🐘 Test on PHP 8.1: src/Config.php#L193
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ // Continue to the next callback } if ($signal === SignalCode::STOP_TRAVERSAL) { - return false; + return true; // Stop traversal immediately } if ($signal === SignalCode::REMOVE_NODE) {
🐘 Test on PHP 8.1: src/Config.php#L213
Escaped Mutant for Mutator "FalseValue": --- Original +++ New @@ @@ $continue = $this->traverseArray($current, $visitors, $path); if (!$continue) { // Stop the current iteration - return false; + return true; // Propagate the stop signal upwards } }