Skip to content

Instantly share code, notes, and snippets.

@jonmchan
Created June 10, 2014 13:41
Show Gist options
  • Save jonmchan/4248b96dae568e79757a to your computer and use it in GitHub Desktop.
Save jonmchan/4248b96dae568e79757a to your computer and use it in GitHub Desktop.
PHPUnit Errors
$ php phpunit.phar
PHPUnit 4.1.2 by Sebastian Bergmann.
Configuration read from /Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/phpunit.xml.dist
...........................................EEEEEEEEEEEEEEEEEE
Time: 9.08 seconds, Memory: 38.00Mb
There were 18 errors:
1) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #0 ('length10', array('{length: min: 10}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
2) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #1 ('length1to10', array('{length: min: 1, max: 10}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
3) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #2 ('notblank', array(true))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
4) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #3 ('notnull', array(true))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
5) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #4 ('type', array('DateTime'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
6) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #5 ('date', array('{Date YYYY-MM-DD}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
7) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #6 ('dateTime', array('{DateTime YYYY-MM-DD HH:MM:SS}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
8) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #7 ('time', array('{Time HH:MM:SS}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
9) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #8 ('email', array('{email address}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
10) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #9 ('url', array('{url}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
11) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #10 ('ip', array('{ip address}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
12) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #11 ('singlechoice', array('[a|b]'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
13) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #12 ('multiplechoice', array('{choice of [x|y|z]}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
14) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #13 ('multiplerangechoice', array('{min: 2 max: 3 choice of [foo|bar|baz|qux]}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
15) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #14 ('regexmatch', array('{match: /^\\d{1,4}\\w{1,4}$/}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
16) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #15 ('regexnomatch', array('{not match: /\\d/}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
17) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #16 ('multipleassertions', array(true, 'string', '{email address}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
18) NelmioApiDocBundle\Tests\Parser\ValidationParserTest::testParser with data set #17 ('multipleformats', array('{url}, {length: min: 10}'))
Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "validator.mapping.class_metadata_factory".
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php:303
/Users/jonathan/code/updates/vendor/nelmio/api-doc-bundle/Nelmio/ApiDocBundle/Tests/Parser/ValidationParserTest.php:16
FAILURES!
Tests: 61, Assertions: 328, Errors: 18.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment