doctrine / couchdb-client

CouchDB Client library
MIT License
122 stars 68 forks source link

make this work with commons 2.4 #12

Closed dbu closed 11 years ago

dbu commented 11 years ago

when running with commons 2.4, i get

PHP Fatal error:  Class 'Doctrine\Common\Annotations\AnnotationRegistry' not found in /home/david/liip/symfony-cmf/doctrine/couchdb-client/tests/TestInit.php on line 18
PHP Stack trace:
PHP   1. {main}() /usr/bin/phpunit:0
PHP   2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46
PHP   3. PHPUnit_TextUI_Command->run() /usr/share/php/PHPUnit/TextUI/Command.php:130
PHP   4. PHPUnit_TextUI_Command->handleArguments() /usr/share/php/PHPUnit/TextUI/Command.php:139
PHP   5. PHPUnit_TextUI_Command->handleBootstrap() /usr/share/php/PHPUnit/TextUI/Command.php:620
PHP   6. PHPUnit_Util_Fileloader::checkAndLoad() /usr/share/php/PHPUnit/TextUI/Command.php:867
PHP   7. PHPUnit_Util_Fileloader::load() /usr/share/php/PHPUnit/Util/Fileloader.php:79
PHP   8. include_once() /usr/share/php/PHPUnit/Util/Fileloader.php:95

i guess that is because annotation registry got its own component.