Update framework to v4.6.0 #274
Annotations
4 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run Infection for added files only:
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,
|
Run Infection for added files only:
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++) {
|
Run Infection for added files only:
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++) {
|
Loading