Problem/Motivation

Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/public/sites/all/modules/contrib/date/tests/DateEmwTestCase.test on line 127

Steps to reproduce

pittet@d7-web:/var/www/html/public$ php scripts/run-tests.sh --color --concurrency "32" --directory sites/all/modules/entityreference
PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead in /var/www/html/public/sites/all/modules/contrib/date/tests/DateEmwTestCase.test on line 127

Proposed resolution

Replace the deprecated notation.

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork date-3349467

Command icon 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

joelpittet created an issue. See original summary.

joelpittet’s picture

Issue summary: View changes

joelpittet’s picture

Status: Active » Needs review
Issue tags: +PHP 8.2
joelpittet’s picture

Unrelated test failures...

joseph.olstad’s picture

Triggered PHP 8.1 tests also

steinmb’s picture

Status: Needs review » Reviewed & tested by the community

Failures look unrelated, RTBC. I have not looked at 2.x if that branch also is affected.

poker10’s picture

Tested this and the MR fixes the issue for me. Thanks!