Update to PHPUnit 10 #276
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);
}
}
|