PHP 7.4 Deprecation: curly brace syntax

Created on 1 January 2021, almost 4 years ago
Updated 27 October 2023, about 1 year ago

Curly brace syntax for array access has been deprecated in 7.4, which affects typogrify.class.php:

FILE: typogrify/typogrify.class.php
---------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------------------------------------------------------------
 45 | WARNING | [x] Curly brace syntax for accessing array elements and string offsets has been deprecated in PHP 7.4. Found: $mthree{strlen($mthree)-1}
---------------------------------------------------------------------------------------------------------------------------------------------------------

I will attach a patch shortly.

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇮🇪Ireland Rafal Lukawiecki Ireland

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024