Hi,
Although I changed the "require" to "require _once" on
libraries/common.inc.php
other redefine error still existed:
https://travis-ci.org/phpmyadmin/phpmyadmin/jobs/7223416
so I think to test the files which requires "libraries/common.inc.php", the
problem will exist.
Any advice? thanks
Adam
>Hi all,
>
>I make pull request about adding Unit test case for
libraries/ServerStatusData.class.php
>https://github.com/phpmyadmin/phpmyadmin/pull/394
>
>but a build error if I don't change the "require" to "require
_once" on libraries/common.inc.php
>https://travis-ci.org/phpmyadmin/phpmyadmin/jobs/7221724
>
>it is:
>Fatal error: Cannot redeclare class PMA_Error_Handler in
/home/travis/build/phpmyadmin/phpmyadmin/libraries/Error_Handler.class.php on line 20
>
>
>I want to know that Any special reason that "require" but not "require
_once" on libraries/common.inc.php
>
>
>thanks,
>Adam
>------------------------------------------------------------------------------
>AlienVault Unified Security Management (USM) platform delivers complete
>security visibility with the essential security capabilities. Easily and
>efficiently configure, manage, and operate all of your security controls
>from a single console and one unified framework. Download a free trial.
>http://p.sf.net/sfu/alienvault_d2d
>_______________________________________________
>Phpmyadmin-devel mailing list
>Phpmyadmin-devel(a)lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel