1
0
Fork 0
composer/tests
Adrien Brault fd58c24a9f ComposerAutoloaderInitXXX::getLoader behaves like a ClassLoader singleton
Calling ComposerAutoloaderInit::getLoader twice when a package requires a .php file containing functions, lead to the functions to be declared twice, and cause an error.

In my case, using behat + symfony2extension + assetic, the error that occured:

PHP Fatal error:  Cannot redeclare assetic_init() (previously declared in vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26

Fatal error: Cannot redeclare assetic_init() (previously declared in /vendor/kriswallsmith/assetic/src/functions.php:20) in /vendor/kriswallsmith/assetic/src/functions.php on line 26
2012-09-14 11:21:34 +02:00
..
Composer/Test ComposerAutoloaderInitXXX::getLoader behaves like a ClassLoader singleton 2012-09-14 11:21:34 +02:00
bootstrap.php Update PEAR Package Extractor to use 'task:replace', 'phprelease' commands and install role='script' files 2012-07-03 19:18:58 +11:00
complete.phpunit.xml Rename tests/phpunit.xml.dist for clarity 2012-06-25 18:59:41 +02:00