- Issue created by @cboyden
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 9:42pm 14 November 2023 - last update
about 1 year ago 14 pass
In PHP 8.2, dynamic properties are deprecated. Several classes in Migrate do not declare all the properties that can be created on them.
Creation of dynamic property MigrateSourceCSV::$options is deprecated in MigrateSourceCSV->__construct() (line 288 of /migrate/plugins/sources/csv.inc).
Creation of dynamic property MigrateSourceCSV::$csvcolumns is deprecated in MigrateSourceCSV->__construct() (line 321 of /migrate/plugins/sources/csv.inc).
Add the annotation to allow dynamic properties to these classes. Another solution would be to declare all the properties in the class.
There may be more classes or properties identified at runtime; these are just the ones I found when installing a distribution that uses a Migrate CSV source to generate starter content.
Patch and test.
None.
None.
None.