Skip to content

Update to PHPUnit 10 #276

Update to PHPUnit 10

Update to PHPUnit 10 #276

Triggered via pull request January 27, 2025 08:46
Status Success
Total duration 44s
Artifacts

infection.yml

on: pull_request
Mutation Testing
34s
Mutation Testing
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
Mutation Testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "Concat": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', __METHOD__ . '[' . '] ' . $e::class . ': ' . $e->getMessage()); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', '[' . '] ' . $e::class . ': ' . $e->getMessage()); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "Concat": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', '[' . '] ' . __METHOD__ . $e::class . ': ' . $e->getMessage()); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', '[' . __METHOD__ . $e::class . ': ' . $e->getMessage()); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "Concat": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', '[' . __METHOD__ . $e::class . '] ' . ': ' . $e->getMessage()); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', '[' . __METHOD__ . '] ' . ': ' . $e->getMessage()); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "Concat": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', '[' . __METHOD__ . '] ' . ': ' . $e::class . $e->getMessage()); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "ConcatOperandRemoval": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', '[' . __METHOD__ . '] ' . $e::class . $e->getMessage()); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }
Mutation Testing: app/Controllers/Home.php#L21
Escaped Mutant for Mutator "Concat": @@ @@ $repos = $this->github->getRepos(); $data = ['html_url' => $repos['framework4']->html_url, 'stargazers_count' => number_format($repos['codeigniter4']->stargazers_count), 'forks_count' => number_format($repos['codeigniter4']->forks_count)]; } catch (ClientExceptionInterface $e) { - log_message('error', '[' . __METHOD__ . '] ' . $e::class . ': ' . $e->getMessage()); + log_message('error', '[' . __METHOD__ . '] ' . $e::class . $e->getMessage() . ': '); $data = ['html_url' => 'https://github.com/codeigniter4/CodeIgniter4', 'stargazers_count' => '', 'forks_count' => '']; } echo $this->render('home', $data); } }