[wp-trac] [WordPress Trac] #47751: PHP 7.4 compatibility fix / accessing arrays/string using curly brace syntax

WordPress Trac noreply at wordpress.org
Fri Aug 30 14:59:29 UTC 2019


#47751: PHP 7.4 compatibility fix / accessing arrays/string using curly brace
syntax
--------------------------------------------+------------------------------
 Reporter:  jrf                             |       Owner:  (none)
     Type:  defect (bug)                    |      Status:  new
 Priority:  normal                          |   Milestone:  5.3
Component:  General                         |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  has-patch has-unit-tests php74  |     Focuses:  coding-
                                            |  standards
--------------------------------------------+------------------------------

Comment (by jrf):

 Replying to [comment:5 desrosj]:
 > For updating getID3, there is #43836 for updating to the latest 1.9.x
 version. I think when that lands, changing the curly braces in the library
 to prevent these deprecation notices would be fine.

 I think it would be better to ask the maintainer to tag a new release and
 then update to that version as there are
 [https://github.com/JamesHeinrich/getID3/compare/v1.9.17...master numerous
 other bugfixes] which haven't been included in a release yet.

 I would also like to suggest considering upgrading to 2.0 if released in
 time. [https://github.com/JamesHeinrich/getID3/compare/v1.9.17...master
 Upgrade path doesn't seem too difficult] and would put us in a better
 position for moving towards autoloading/using Composer for the future.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47751#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list