Problem/Motivation
Reported by edsoncarlos in #3438562-13: Automated Drupal 11 compatibility fixes for phone_number.
In #3461396: Deprecated FormElement we moved from using the deprecated \Drupal\Core\Render\Element\FormElement to using its replacement, \Drupal\Core\Render\Element\FormElementBase. What we forgot to do in there was determine in what version of Drupal \Drupal\Core\Render\Element\FormElementBase became available and bump our module's minimum compatible Drupal version to that.
It appears \Drupal\Core\Render\Element\FormElementBase became available in Drupal 10.3.
Steps to reproduce
Install the 2.0.0-alpha8 release in a Drupal version lower than 10.3 and see a class not found error.
Proposed resolution
Bump up the module's minimum compatible Drupal version to 10.3.
Remaining tasks
Patch / MR + review.
User interface changes
None.
API changes
None.
Data model changes
None.
Issue fork phone_number-3516481
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 #4
jdleonardComment #5
chrisolofThanks jdleonard!