php - Error: Class 'PHPUnit_Util_ErrorHandler' not found -


this relevant composer.jpon config.

"require": {     "php": ">=5.5.9",     "twig/twig": "^2.0",     "symfony/symfony": "3.2.*",     "doctrine/orm": "^2.5",     "doctrine/doctrine-bundle": "^1.6",     "doctrine/doctrine-cache-bundle": "^1.2",     "symfony/swiftmailer-bundle": "^2.3",     "symfony/monolog-bundle": "~2.11.3",     "symfony/polyfill-apcu": "^1.0",     "sensio/distribution-bundle": "^5.0",     "sensio/framework-extra-bundle": "^3.0.2",     "incenteev/composer-parameter-handler": "^2.0",     "friendsofsymfony/user-bundle": "dev-master",     "knplabs/knp-paginator-bundle": "^2.5",     "symfony/assetic-bundle": "^2.7",     "vich/uploader-bundle": "dev-master",     "twbs/bootstrap": "^3.3",     "components/jquery": "^2.1",     "twig/extensions": "^1.3",     "phpunit/phpunit": "^6.0" }, "require-dev": {     "sensio/generator-bundle": "^3.0",     "doctrine/doctrine-fixtures-bundle": "^2.3",     "phpunit/dbunit": "^3.0",     "symfony/phpunit-bridge": "^3.0" }, 

when execute php phpunit following appears:

time: 1.01 seconds, memory: 20.00mb

there 1 error:

1) userbundle\tests\unit\scaleuserservicetest::testisusersempty error: class 'phpunit_util_errorhandler' not found

can me do?

thanks in advance, max

you installing phpunit 6. version not have phpunit_util_errorhandler anymore.

information on migrating phpunit 6 can found here, complete list of changes in phpunit 6 available here.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -