Skip to content

Add php 8.2, 8.3 to build workflow. #897

Add php 8.2, 8.3 to build workflow.

Add php 8.2, 8.3 to build workflow. #897

Triggered via pull request February 12, 2024 14:48
Status Failure
Total duration 1m 2s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

1 error and 10 warnings
mutation / PHP 8.1-ubuntu-latest
Process completed with exit code 1.
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L41
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ */ protected function execute(InputInterface $input, OutputInterface $output) : int { - $this->debugger->stop(); + $io = new SymfonyStyle($input, $output); if ($input->hasArgument('route') && !empty($input->getArgument('route'))) { /**
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L49
Escaped Mutant for Mutator "CastArray": --- Original +++ New @@ @@ /** * @var string[] $routes */ - $routes = (array) $input->getArgument('route'); + $routes = $input->getArgument('route'); foreach ($routes as $route) { $route = $this->routeCollection->getRoute($route); $data = $route->__debugInfo();
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L61
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $action = array_pop($middlewareDefinitions); $middlewares = $middlewareDefinitions; } - $io->title($data['name']); + $definitionList = [['Methods' => $this->export($data['methods'])], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; if (!empty($action)) { $definitionList[] = ['Action' => $this->export($action)];
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L62
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $middlewares = $middlewareDefinitions; } $io->title($data['name']); - $definitionList = [['Methods' => $this->export($data['methods'])], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; + $definitionList = [['Name' => $data['name']], ['Pattern' => $data['pattern']]]; if (!empty($action)) { $definitionList[] = ['Action' => $this->export($action)]; }
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L63
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ $middlewares = $middlewareDefinitions; } $io->title($data['name']); - $definitionList = [['Methods' => $this->export($data['methods'])], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; + $definitionList = [['Methods' > $this->export($data['methods'])], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; if (!empty($action)) { $definitionList[] = ['Action' => $this->export($action)]; }
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L63
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $middlewares = $middlewareDefinitions; } $io->title($data['name']); - $definitionList = [['Methods' => $this->export($data['methods'])], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; + $definitionList = [[], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; if (!empty($action)) { $definitionList[] = ['Action' => $this->export($action)]; }
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L64
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $middlewares = $middlewareDefinitions; } $io->title($data['name']); - $definitionList = [['Methods' => $this->export($data['methods'])], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; + $definitionList = [['Methods' => $this->export($data['methods'])], [], ['Pattern' => $data['pattern']]]; if (!empty($action)) { $definitionList[] = ['Action' => $this->export($action)]; }
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L65
Escaped Mutant for Mutator "ArrayItemRemoval": --- Original +++ New @@ @@ $middlewares = $middlewareDefinitions; } $io->title($data['name']); - $definitionList = [['Methods' => $this->export($data['methods'])], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; + $definitionList = [['Methods' => $this->export($data['methods'])], ['Name' => $data['name']], []]; if (!empty($action)) { $definitionList[] = ['Action' => $this->export($action)]; }
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L67
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ } $io->title($data['name']); $definitionList = [['Methods' => $this->export($data['methods'])], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; - if (!empty($action)) { + if (empty($action)) { $definitionList[] = ['Action' => $this->export($action)]; } if (!empty($data['defaults'])) {
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L68
Escaped Mutant for Mutator "ArrayItem": --- Original +++ New @@ @@ $io->title($data['name']); $definitionList = [['Methods' => $this->export($data['methods'])], ['Name' => $data['name']], ['Pattern' => $data['pattern']]]; if (!empty($action)) { - $definitionList[] = ['Action' => $this->export($action)]; + $definitionList[] = ['Action' > $this->export($action)]; } if (!empty($data['defaults'])) { $definitionList[] = ['Defaults' => $this->export($data['defaults'])];