includes/parser/ParserFactory.php
Method __construct
has 21 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
ServiceOptions $svcOptions,
MagicWordFactory $magicWordFactory,
Language $contLang,
UrlUtils $urlUtils,
SpecialPageFactory $spFactory,
Method create
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function create(): Parser {
self::$inParserFactory++;
try {
return new Parser(
$this->svcOptions,