PHP 7.4 Deprecation: curly brace syntax

Created on 1 January 2021, over 3 years ago
Updated 27 October 2023, 8 months 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.69.0 2024