Use of curly brace syntax for array elements has been deprecated in PHP 7.4. The 7.x-1.x version of MarkdownExtra has a few of these.

CommentFileSizeAuthor
#2 markdown-3165084-curly-braces.patch2.48 KBmicahw156

Comments

micahw156 created an issue. See original summary.

micahw156’s picture

Assigned: micahw156 » Unassigned
Status: Active » Needs review
StatusFileSize
new2.48 KB

Patch attached for review.

markhalliwell’s picture

Component: Parser: PHP Markdown/PHP Markdown Extra » Other
Status: Needs review » Closed (won't fix)
Issue tags: -PHP 7.4

Thanks for the patch! As stated in #3164369-2: Depricated function create_function() warning php 7.3.18, the 7.x-1.x branch is no longer in development. The patch can remain here for those who still want/need that code to function properly in newer PHP versions.

gisle’s picture

Component: Other » Code
Status: Closed (won't fix) » Fixed

The reports about the deprecation of the 7.x-1.x branch are greatly exaggerated.

While the 7.x-1.x has been stable and feature complete for some time, without needing much attention to keep humming along, sometimes external events, such as PHP ver. 7.4 deprecating curly brace syntax for array elements may require it to be updated.

Since I use the 7.x-1.x branch of this module on more than 50 production web sites, I intend to keep maintaining it until Drupal 7 itself reaches EOL in 2022.

Please do not close bug reports for the 7.x-1.x branch. I'll deal with those as I see them. The branch is not abandoned and will continue to receive support.

This has been fixed in the 7.x-1.x dev-branch, and a new stable 7.x-1.6 release is forthcoming.

gisle’s picture

There is now a new stable release: 7.x-1.6.

micahw156’s picture

Thanks for the commit and new release!

Status: Fixed » Closed (fixed)

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