Problem/Motivation
PHP 8.4 deprecated implicitly nullable typed parameters — when a parameter has a typed declaration but a default value of `NULL` without the explicit `?` prefix. PHP 8.5 continues to emit the deprecation notice on every request where the affected code path is executed.
The following method in `src/Plugin/migrate/destination/DraggableViews.php` triggers this deprecation:
public function fields(MigrationInterface $migration = NULL) {
Proposed resolution
Add the explicit `?` nullable prefix:
public function fields(?MigrationInterface $migration = NULL) {
Remaining tasks
TBD
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #2
mauriciopieper commentedComment #3
philyThanks.
No need for MR as it seems already fixed in 2.1.x-dev release.
Comment #4
mauriciopieper commentedAttaching a new patch because I missed another implicit nullable parameter.