[glotpress-updates] [GlotPress] #220: Add support for tests running on php 5.4

GlotPress noreply at wordpress.org
Tue Mar 12 00:07:35 UTC 2013


#220: Add support for tests running on php 5.4
--------------------------+--------------------------------------
  Reporter:  sushkov      |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  major        |  Milestone:  1.0
 Component:  general      |    Version:  0.1
Resolution:               |   Keywords:  dev-feedback 2nd-opinion
--------------------------+--------------------------------------

Comment (by markoheijnen):

 Currently you need to set GP_DEBUG. You mean with aware of PHP 5.4 to
 disable E_STRICT notices? I do see all test failing because:
 Non-static method BP_SQL_Schema_Parser::delta() should not be called
 statically.

 I'm also getting there errors:
 PHP Strict Standards:  Redefining already defined constructor for class
 BPDB in /home/develop/glotpress/gp-includes/backpress/class.bpdb.php on
 line 183
 PHP Strict Standards:  Redefining already defined constructor for class
 WP_Object_Cache in /home/develop/glotpress/gp-includes/backpress/class.wp-
 object-cache.php on line 285
 PHP Deprecated:  Assigning the return value of new by reference is
 deprecated in /home/develop/glotpress/gp-includes/backpress/functions.wp-
 object-cache.php on line 108
 PHP Strict Standards:  Redefining already defined constructor for class
 WP_Http in /home/develop/glotpress/gp-includes/backpress/class.wp-http.php
 on line 67
 PHP Strict Standards:  Redefining already defined constructor for class
 WP_Http_Cookie in /home/develop/glotpress/gp-includes/backpress/class.wp-
 http.php on line 1633
 PHP Strict Standards:  Redefining already defined constructor for class
 WP_Dependencies in /home/develop/glotpress/gp-includes/backpress/class.wp-
 dependencies.php on line 33
 PHP Strict Standards:  Redefining already defined constructor for class
 WP_Users in /home/develop/glotpress/gp-includes/backpress/class.wp-
 users.php on line 11
 PHP Strict Standards:  Only variables should be passed by reference in
 /home/develop/glotpress/gp-settings.php on line 242
 PHP Strict Standards:  Redefining already defined constructor for class
 WP_Auth in /home/develop/glotpress/gp-includes/backpress/class.wp-auth.php
 on line 43
 PHP Strict Standards:  Non-static method GP_Locales::locales() should not
 be called statically, assuming $this from incompatible context in
 /home/develop/glotpress/gp-includes/router.php on line 39
 PHP Strict Standards:  Non-static method GP_Locales::instance() should not
 be called statically, assuming $this from incompatible context in
 /home/develop/glotpress/locales/locales.php on line 1853

-- 
Ticket URL: <http://glotpress.trac.wordpress.org/ticket/220#comment:1>
GlotPress <http://glotpress.trac.wordpress.org>
Easy comin', easy goin'


More information about the glotpress-updates mailing list