symfony-cmf / simple-cms-bundle

UNMAINTAINED - A more-than-simple cms based on the cmf components
http://cmf.symfony.com/
49 stars 45 forks source link

Test lower boundaries of version constraints #141

Closed wouterj closed 9 years ago

wouterj commented 9 years ago

@dbu do you know what's going wrong here? https://travis-ci.org/symfony-cmf/SimpleCmsBundle/jobs/64607348

The rendered html output: http://jsbin.com/tekelosoki/1/

dbu commented 9 years ago

this looks like we try to set the defaults property to an array containing null values. this actually should work https://github.com/jackalope/jackalope/issues/210 but that fix is not yet finished. so i am not sure why this turns up - maybe phpcr-odm meanwhile had a fix that skips null? or sonata admin?

to debug, i would try to run the tests locally and check if the latest phpcr-odm still produces the problem, or sonata admin, or maybe one of the other things in the stack. then go backwards until you find the version that breaks and require something newer than that version.

wouterj commented 9 years ago

Thanks for the information, @dbu. Using your debugging method, I found out it was fixed in 1.1.0-stable (RC1 was installed). Now fingers crossed that this was the last problem...

dbu commented 9 years ago

yay! https://travis-ci.org/symfony-cmf/SimpleCmsBundle/jobs/64780699 is green!

lsmith77 commented 9 years ago

Fatal error: Uncaught exception 'PHP_CodeCoverage_Exception' with message 'No code coverage driver available' in /home/travis/build/symfony-cmf/SimpleCmsBundle/vendor/phpunit/php-code-coverage/src/CodeCoverage.php:108

I know that using a specific version of phpunit/php-codecoverage fixes the issue .. but I do not understand why the same issues doesn't affect CoreBundle/ContentBundle

wouterj commented 9 years ago

@lsmith77 CoreBundle/ContentBundle use the PHPunit phar that is available on the travis machine (4.5.0). This bundle uses MatthiasSymfonyConfigTest, which requires phpunit. This means that executing phpunit will use the PHPunit classes that are available in the vendor directory (autoloading of vendor overrides autoloading of the phar), which is 5.0-dev.

lsmith77 commented 9 years ago

ah