I see that is needed update testcase class:

Class PHPUnit\Framework\TestCase not found.

XquantityStockAvailabilityChecker.php file:

Class Drupal\xquantity_stock\XquantityStockAvailabilityChecker implements deprecated interface Drupal\commerce\AvailabilityCheckerInterface. Deprecated in commerce:8.x-2.18 and is removed from commerce:3.x. Use Drupal\commerce_order\AvailabilityCheckerInterface instead.

And also the yml info file:

Add core_version_requirement: ^8 || ^9 to designate that the module is compatible with Drupal 9

I need to learn how to make patches and update here. I tried before but I don't have too much time now, but it's ok for reporting.

Thanks for the module!

CommentFileSizeAuthor
#2 3226166-2.patch448 byteslarisse

Comments

renguer0 created an issue. See original summary.

larisse’s picture

StatusFileSize
new448 bytes

Hi @renguer0

I try to install this module in Drupal 9 site, I think is because the line I remove in this patch. About the others errors you write, I see the files and seems it's is fixed.

larisse’s picture

Status: Active » Needs review
drugan’s picture

Status: Needs review » Closed (won't fix)

Further development will continue in the 2.0.x branch which is already compatible with Drupal ^9.4 || ^10.

The 8.x-1.x-dev branch might get changes for critical issues only.

#3387515: Drupal 10 compatibility