Skip to content

Update rector/rector requirement from ^0.17.0 to ^0.18.1 #781

Update rector/rector requirement from ^0.17.0 to ^0.18.1

Update rector/rector requirement from ^0.17.0 to ^0.18.1 #781

Triggered via push August 28, 2023 19:29
Status Failure
Total duration 1m 4s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

mutation.yml

on: push
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#L31
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } protected function configure() : void { - $this->setDescription('Show information about registered routes')->addArgument('route', InputArgument::IS_ARRAY, 'Route name'); + } /** * @psalm-suppress MixedArgument, MixedAssignment, MixedArrayAccess
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#L45
Escaped Mutant for Mutator "LogicalNot": --- Original +++ New @@ @@ { $this->debugger->stop(); $io = new SymfonyStyle($input, $output); - if ($input->hasArgument('route') && !empty($input->getArgument('route'))) { + if ($input->hasArgument('route') && empty($input->getArgument('route'))) { /** * @var string[] $routes */
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L45
Escaped Mutant for Mutator "LogicalAnd": --- Original +++ New @@ @@ { $this->debugger->stop(); $io = new SymfonyStyle($input, $output); - if ($input->hasArgument('route') && !empty($input->getArgument('route'))) { + if ($input->hasArgument('route') || !empty($input->getArgument('route'))) { /** * @var string[] $routes */
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L45
Escaped Mutant for Mutator "LogicalAndAllSubExprNegation": --- Original +++ New @@ @@ { $this->debugger->stop(); $io = new SymfonyStyle($input, $output); - if ($input->hasArgument('route') && !empty($input->getArgument('route'))) { + if (!$input->hasArgument('route') && empty($input->getArgument('route'))) { /** * @var string[] $routes */
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L45
Escaped Mutant for Mutator "LogicalAndNegation": --- Original +++ New @@ @@ { $this->debugger->stop(); $io = new SymfonyStyle($input, $output); - if ($input->hasArgument('route') && !empty($input->getArgument('route'))) { + if (!($input->hasArgument('route') && !empty($input->getArgument('route')))) { /** * @var string[] $routes */
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L45
Escaped Mutant for Mutator "LogicalAndSingleSubExprNegation": --- Original +++ New @@ @@ { $this->debugger->stop(); $io = new SymfonyStyle($input, $output); - if ($input->hasArgument('route') && !empty($input->getArgument('route'))) { + if (!$input->hasArgument('route') && !empty($input->getArgument('route'))) { /** * @var string[] $routes */
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L107
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } $rows[] = ['methods' => $this->export($data['methods']), 'name' => $data['name'], 'hosts' => $this->export($data['hosts']), 'pattern' => $data['pattern'], 'defaults' => $this->export($data['defaults']), 'action' => $this->export($action)]; } - $table->addRows($rows); + $table->render(); return 0; }
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L108
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ $rows[] = ['methods' => $this->export($data['methods']), 'name' => $data['name'], 'hosts' => $this->export($data['hosts']), 'pattern' => $data['pattern'], 'defaults' => $this->export($data['defaults']), 'action' => $this->export($action)]; } $table->addRows($rows); - $table->render(); + return 0; } protected function export(mixed $value) : string
mutation / PHP 8.1-ubuntu-latest: src/Debug/DebugRoutesCommand.php#L110
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } $table->addRows($rows); $table->render(); - return 0; + return -1; } protected function export(mixed $value) : string {