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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | markdown-3165084-curly-braces.patch | 2.48 KB | micahw156 |
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | markdown-3165084-curly-braces.patch | 2.48 KB | micahw156 |
Comments
Comment #2
micahw156Patch attached for review.
Comment #3
markhalliwellThanks 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.
Comment #4
gisleThe 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.
Comment #5
gisleThere is now a new stable release: 7.x-1.6.
Comment #6
micahw156Thanks for the commit and new release!