Problem/Motivation
Commerce 4.x must run on Drupal 12. Code deprecated in Drupal 11 and removed in Drupal 12 needs to be replaced.
Postponed on #3638817: Require Drupal ^11.1 and PHP ^8.3 on 4.x, test against Drupal 12 in CI, which adds a (non-blocking) CI job testing against Drupal 12.
Proposed resolution
Use the Drupal 12 CI job, PHPStan and Upgrade Status to find deprecated API usage and replace it.
If a replacement API was introduced in a Drupal 11 minor newer than 11.1, raise the 4.x minimum core version accordingly.
Can be split into follow-ups if the list turns out to be long.
Remaining tasks
- Identify deprecations once the Drupal 12 job runs.
- Fix them until the Drupal 12 job is green, unblocking #3586548: Drupal 12 compatibility.
User interface changes
None.
API changes
None expected.
Data model changes
None.
Issue fork commerce-3638820
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
jsacksick commentedComment #5
jsacksick commented