In general, we switched to the 3rd symfony tests, respectively, left the bundles. Now in all tests phpunit \ PHPUnit_Framework_TestCase highlights in all tests - does not see the storm. So the tests work fine.

  • can pick up tests as an external library? - Naumov
  • I had to download the phpunit resources into a separate folder and connect separately - Serge Esmanovich
  • You can add "symfony/phpunit-bridge": "^3.0", "phpunit/phpunit": "^5.2" to composer.json "symfony/phpunit-bridge": "^3.0", "phpunit/phpunit": "^5.2" . not to litter production, not to require, but to require-dev - luchaninov
  • He is there, from the 2nd version - Serge Esmanovich

1 answer 1

  • For highlighting, you can download the .phar archive from the official site and put it in the root.
  • or you can install phpunit via PEAR, but this is no longer the recommended method.
  • or you can add phpunit dependencies to require-dev in composer.json