Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Make the module Drupal 10 compatible on 6.0.x.
Upgrade Status shows the following issue:
Call to deprecated method setMethods() of class PHPUnit\Framework\MockObject\MockBuilder:
in /tests/src/Unit/DataParserPluginBaseTest.php
Also, there are some other issues reported by drupal-check needed to be fixed.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#8 | 3294980-8.patch | 583 bytes | mglaman |
Issue fork migrate_plus-3294980
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
Comment #3
balintpekkerDrupal 10 will need Guzzle 7, and until https://github.com/Sainsburys/guzzle-oauth2-plugin/pull/21 is merged the suggested
sainsburys/guzzle-oauth2-plugin
package will have conflicts. Also, it is not a required package currently, however for the Oauth2 authentication plugin to work, you need it, so it's a soft dependency. I'd suggest moving the package to therequire-dev
section of the composer.json file.Comment #4
balintpekkerComment #5
Kristen PolThis is already a Drupal 10 compatible release:
https://www.drupal.org/project/migrate_plus/releases/6.0.0
so I assume should be closed.
Comment #6
Kristen PolOh, this looks like an additional issue that was missed by the original patch?
Comment #7
mglaman@balintpekker the MR makes too many changes. Rebase is on 6.x to fix
setMethods is deprecated. Let's get in the surgical fix for just that.
Comment #8
mglamanHere's the fix for the deprecated PHPUnit method. Retitling so it's more specific to the fix.
Comment #9
nkoporecLooks good to me, since its a minor thing and tests are passing, I'm setting this as RTBC.
Comment #11
heddn