PHP 8.2 Deprecated ${} string interpolation drupal.module file
Overview
CiviCRM can not be installed or updated on PHP 8.2.x because of a PHP 8.2 Deprecated ${} string interpolation issue with the file at line 1058 of /civicrm/drupal/civicrm.module.
This issue is referenced at: #3958 (comment 152174)
Reproduction steps
- Provision a Drupal website on PHP 8.2.x
- Install of update CiviCRM.
- Got an error "Fatal error: Deprecated ${} string interpolation issue with the file at line 1058 of /civicrm/drupal/civicrm.module.".
Environment information
- CiviCRM: version 5.66.0 (any version)
- PHP: 8.2.x
- CMS: Drupal 7.98 (any Drupal 7 version)
- Database: MySQL 5.7.7/MariaDB 10.4/...
- Web Server: Apache 2.4/Nginx 1.16/...
Comments
Will supply PR shortly.
- How do I add Labels to relate this to PHP 8.2 and Drupal 7?