PHP 8.2 compatibility

Created on 10 June 2024, 6 months ago
Updated 10 July 2024, 5 months ago

Problem/Motivation

The following deprecations are found when running a PHP 8.2 (or higher) compatibility check:

FILE: .../video_embed_media/modules/vem_migrate_oembed/src/VemMigrate.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 4 LINES
----------------------------------------------------------------------
 109 | WARNING | Using ${var} in strings is deprecated since PHP 8.2,
     |         | use {$var} instead. Found: ${field_name}
 109 | WARNING | Using ${var} in strings is deprecated since PHP 8.2,
     |         | use {$var} instead. Found: ${field_name}
 110 | WARNING | Using ${var} in strings is deprecated since PHP 8.2,
     |         | use {$var} instead. Found: ${field_name}
 110 | WARNING | Using ${var} in strings is deprecated since PHP 8.2,
     |         | use {$var} instead. Found: ${field_name}
 114 | WARNING | Using ${var} in strings is deprecated since PHP 8.2,
     |         | use {$var} instead. Found: ${field_name}
 115 | WARNING | Using ${var} in strings is deprecated since PHP 8.2,
     |         | use {$var} instead. Found: ${field_name}
----------------------------------------------------------------------

Steps to reproduce

Run CodeSniffer compatibility check for PHP 8.2 or higher.

Proposed resolution

Resolve deprecations as suggested.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

📌 Task
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇨🇦Canada maursilveira Windsor, ON

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024