Problem/Motivation
This issue is a follow-up to #3574717: Remove deprecated code from migrate module, where (among other things) the deprecation message is removed.
Currently, the deprecation message for Drupal\migrate\Plugin::getMigrationDependencies() is
'Calling ' . __METHOD__ . ' with the $expand parameter is deprecated in drupal:11.0.0 and is removed drupal:12.0.0. See https://www.drupal.org/node/3442785'
That suggests that something bad will happen if the parameter is passed after Drupal 12.0.0. In fact, any extra parameters are ignored.
Proposed resolution
Change the deprecation message to
'Calling ' . __METHOD__ . ' with the $expand parameter is deprecated in drupal:11.0.0 and has no effect in drupal:12.0.0. See https://www.drupal.org/node/3442785'
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3582125
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:
- 3582125-improve-deprecation-message
changes, plain diff MR !15271
Comments
Comment #3
benjifisherI made the proposed change.
Comment #4
smustgrave commentedSeems pretty straight forward. There are no tests around this deprecation so I highly doubt this change caused any test failure. Didn't even both starting a new pipeline.
Comment #5
benjifisherComment #9
godotislateCommitted de586af and pushed to 11.x and committed f7a19ff and pushed to 11.3.x. Thanks!