Classes/Provider/ProviderUrls.php
Method __construct
has 263 lines of code (exceeds 25 allowed). Consider refactoring. Wontfix
Wontfix
public function __construct()
{
$host = '{host}';
$this->urls = [
'#https?://((m|www)\.)?youtube\.com/watch.*#i' => [
File ProviderUrls.php
has 277 lines of code (exceeds 250 allowed). Consider refactoring. Wontfix
Wontfix
<?php
declare(strict_types=1);
namespace Sto\Mediaoembed\Provider;
The method __construct() has 270 lines of code. Current threshold is set to 100. Avoid really long methods. Wontfix
Wontfix
public function __construct()
{
$host = '{host}';
$this->urls = [
'#https?://((m|www)\.)?youtube\.com/watch.*#i' => [
- Exclude checks