src/StanfordMigrateBatchExecutable.php
Method batchProcessImport
has 53 lines of code (exceeds 40 allowed). Consider refactoring. Wontfix
Wontfix
public static function batchProcessImport($migration_id, array $options, &$context): void {
if (empty($context['sandbox'])) {
$context['finished'] = 0;
$context['sandbox'] = [];
$context['sandbox']['total'] = 0;
Call with 3 arg(s) to \Drupal\stanford_migrate\StanfordMigrateBatchExecutable::__construct()
which only takes 0 arg(s) defined at /code/src/StanfordMigrateBatchExecutable.php:17
Invalid
Invalid
$executable = new StanfordMigrateBatchExecutable($migration, $message, $options);
- Exclude checks