I'm looking to get PHP updated to 8.0 or 8.1 but I'm running into issues with the braintree/braintree_php dependency, mostly issues with methods and return type declarations, etc.

Through some Composer magic I was able to get the ^6.9 version installed and after a quick look-thru things seem to be working as expected.

What's needed to get this project formally updated to use a more-recent version of the braintree/braintree_php SDK?

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

kerasai created an issue. See original summary.

jay.silverman’s picture

@ kerasai - Thank you for posting this issue. Could you please let us know what "Composer magic" entails? It seems like that may be the only way to address this problem for now.

Thanks,
Jay

kerasai’s picture

This should do the trick:

composer require 'braintree/braintree_php:6.10.0 as 3.40.0'

marchuk.vitaliy made their first commit to this issue’s fork.

vmarchuk’s picture

valic’s picture

Status: Active » Reviewed & tested by the community

I am marking it as tested. We are running 6.10.0 on live project without any issues so far

jsacksick’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.