Problem/Motivation

Error message in PHP 8.2:
Deprecated function: Using ${var} in strings is deprecated, use {$var} instead

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork date_pager-3445956

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

sleitner created an issue. See original summary.

sleitner’s picture

Status: Active » Needs review
abhishek_gupta1’s picture

Status: Needs review » Reviewed & tested by the community

@Kate Heinlein, I have tested above MR locally, issue has fixed, working well for me.

j_s’s picture

Also confirming that the MR fixed the issue for me on PHP 8.3. Thanks!

phonkala’s picture

Couldn't apply MR!8 diff myself on 2.0.x-dev. The MR does say it's for 8.x-1.x though, I guess that's the issue then, even though this issue is for 2.0.x-dev.

sleitner’s picture

StatusFileSize
new3.03 KB

Static patch of MR8

sleitner’s picture

StatusFileSize
new3.91 KB

Another deprecated use of ${} in src/Plugin/views/pager/DatePager.php

  • sleitner committed 51c24d7f on 2.1.x
    Issue #3445956 by sleitner: Deprecated use of  ${} string interpolation
    
sleitner’s picture

Version: 2.0.x-dev » 2.1.x-dev
Status: Reviewed & tested by the community » Fixed
sleitner’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.