Problem/Motivation

The source plugin is missing at least one typehint, leading to errors such as:

  PHPUnit\Framework\Exception: Fatal error: Declaration of Drupal\migrate_directory\Plugin\migrate\source\MigrateDirectory::rewind() must be compatible with Drupal\migrate\Plugin\migrate\source\SourcePluginBase::rewind(): void in /opt/drupal/web/modules/contrib/migrate_directory/src/Plugin/migrate/source/MigrateDirectory.php on line 25

Steps to reproduce

Attempt to run with PHP 8.4.

Proposed resolution

Add the typehint(s).

Remaining tasks

  1. get MR together
  2. get it merged
  3. get it released

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

adam-vessey created an issue. See original summary.

adam-vessey’s picture

Status: Active » Needs review