[wp-trac] [WordPress Trac] #40109: Ensure PHP 7.2 compatibility in tests (and core)

WordPress Trac noreply at wordpress.org
Fri Jul 28 01:14:08 UTC 2017


#40109: Ensure PHP 7.2 compatibility in tests (and core)
------------------------------+------------------
 Reporter:  ocean90           |       Owner:
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  4.9
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------

Comment (by johnbillion):

 In [changeset:"41178"]:
 {{{
 #!CommitTicketReference repository="" revision="41178"
 General: Move the `__autoload()` compat function into its own file to
 prevent deprecated notices being thrown by the compiler in PHP 7.2.

 The `__autoload()` function is deprecated in PHP 7.2, which means
 WordPress' own `__autoload()` compat function for PHP 5.2 needs to be
 moved into a separate file to prevent the PHP 7.2 compiler from
 complaining.

 Props ayeshrajans

 See #40109
 }}}

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


More information about the wp-trac mailing list