src/MessageGroupProcessing/ImportTranslatableBundleMaintenanceScript.php
Method __construct
has 73 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function __construct() {
parent::__construct();
$this->addArg(
'xml-path',
'Path to the XML file to be imported',
Method execute
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function execute() {
$this->pageImportCount = 0;
$importFilePath = $this->getPathOfFileToImport();
$importUser = $this->getImportUser();
$comment = $this->getOption( 'comment' );
Method markPageForTranslation
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function markPageForTranslation(
Title $bundleTitle,
TranslatablePageSettings $translatablePageSettings,
UserIdentity $importUser
): void {