Skip to content

Update framework to v4.6.0 #274

Update framework to v4.6.0

Update framework to v4.6.0 #274

Triggered via pull request January 23, 2025 11:43
Status Success
Total duration 42s
Artifacts

infection.yml

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

Annotations

4 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/Libraries/Blog.php#L291
Escaped Mutant for Mutator "ProtectedVisibility": @@ @@ * * @return list<string>|string|null */ - protected function parseVideoTags(?string $html = null) + private function parseVideoTags(?string $html = null) { helper('video'); // Since the plugin doesn't support video embeds, yet,
Mutation Testing: app/Libraries/Blog.php#L300
Escaped Mutant for Mutator "LessThanNegotiation": @@ @@ // wire our own up. The syntax for video embeds is // ![[ https://youtube.com/watch?v=xlkjsdfhlk ]] $result = preg_match_all('|!video\\[([\\s\\w:/.?=&;]*)\\]|i', $html, $matches); - if ($result < 1) { + if ($result >= 1) { return $html; } for ($i = 0; $i < count($matches) - 1; $i++) {
Mutation Testing: app/Libraries/Blog.php#L300
Escaped Mutant for Mutator "LessThan": @@ @@ // wire our own up. The syntax for video embeds is // ![[ https://youtube.com/watch?v=xlkjsdfhlk ]] $result = preg_match_all('|!video\\[([\\s\\w:/.?=&;]*)\\]|i', $html, $matches); - if ($result < 1) { + if ($result <= 1) { return $html; } for ($i = 0; $i < count($matches) - 1; $i++) {