task: #3596395 Automated Drupal 12 compatibility fixes for commerce_referral 1.0.x-dev

By: daniel.j