Skip to content

Merge pull request #207 from yiisoft/serve #610

Merge pull request #207 from yiisoft/serve

Merge pull request #207 from yiisoft/serve #610

Triggered via push June 24, 2024 05:52
Status Success
Total duration 1m 54s
Artifacts

mutation.yml

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

Annotations

10 warnings
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L48
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ public function shutdown(int $exitCode) : void { if ($this->dispatcher !== null) { - $this->dispatcher->dispatch(new ApplicationShutdown($exitCode)); + } } public function renderThrowable(Throwable $e, OutputInterface $output) : void
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L54
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } public function renderThrowable(Throwable $e, OutputInterface $output) : void { - $output->writeln('', OutputInterface::VERBOSITY_QUIET); + $this->doRenderThrowable($e, $output); } protected function doRenderThrowable(Throwable $e, OutputInterface $output) : void
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L61
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ } protected function doRenderThrowable(Throwable $e, OutputInterface $output) : void { - parent::doRenderThrowable($e, $output); + // Friendly Exception support if ($e instanceof FriendlyExceptionInterface) { if ($output instanceof StyleInterface) {
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L66
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ // Friendly Exception support if ($e instanceof FriendlyExceptionInterface) { if ($output instanceof StyleInterface) { - $output->title($e->getName()); + if (($solution = $e->getSolution()) !== null) { $output->note($solution); }
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L70
Escaped Mutant for Mutator "MethodCallRemoval": --- Original +++ New @@ @@ if (($solution = $e->getSolution()) !== null) { $output->note($solution); } - $output->newLine(); + } else { $output->writeln('<fg=red>' . $e->getName() . '</>'); if (($solution = $e->getSolution()) !== null) {
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L72
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ } $output->newLine(); } else { - $output->writeln('<fg=red>' . $e->getName() . '</>'); + $output->writeln($e->getName() . '<fg=red>' . '</>'); if (($solution = $e->getSolution()) !== null) { $output->writeln('<fg=yellow>' . $solution . '</>'); }
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L72
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } $output->newLine(); } else { - $output->writeln('<fg=red>' . $e->getName() . '</>'); + $output->writeln($e->getName() . '</>'); if (($solution = $e->getSolution()) !== null) { $output->writeln('<fg=yellow>' . $solution . '</>'); }
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L72
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } $output->newLine(); } else { - $output->writeln('<fg=red>' . $e->getName() . '</>'); + $output->writeln('<fg=red>' . '</>'); if (($solution = $e->getSolution()) !== null) { $output->writeln('<fg=yellow>' . $solution . '</>'); }
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L72
Escaped Mutant for Mutator "Concat": --- Original +++ New @@ @@ } $output->newLine(); } else { - $output->writeln('<fg=red>' . $e->getName() . '</>'); + $output->writeln('<fg=red>' . '</>' . $e->getName()); if (($solution = $e->getSolution()) !== null) { $output->writeln('<fg=yellow>' . $solution . '</>'); }
mutation / PHP 8.1-ubuntu-latest: src/Application.php#L72
Escaped Mutant for Mutator "ConcatOperandRemoval": --- Original +++ New @@ @@ } $output->newLine(); } else { - $output->writeln('<fg=red>' . $e->getName() . '</>'); + $output->writeln('<fg=red>' . $e->getName()); if (($solution = $e->getSolution()) !== null) { $output->writeln('<fg=yellow>' . $solution . '</>'); }