ApiTestCase icon indicating copy to clipboard operation
ApiTestCase copied to clipboard

Prevent a warning when installing the lib

Open dunglas opened this issue 5 years ago • 3 comments

Q A
Bug fix? yes
New feature? yes
BC breaks? yes
Related tickets n/a
License MIT

Prevents the following Flex warning when installing the library:

 Adding phpunit/phpunit as a dependency is discouraged in favor of Symfony's PHPUnit Bridge. 
                                                                                             
  * Instead:
    1. Remove it now: composer remove --dev phpunit/phpunit
    2. Use Symfony's bridge: composer require --dev phpunit

dunglas avatar Mar 11 '19 16:03 dunglas

Thanks a lot Kevin! I want to take a look and do some refactor anyway around this, so I can pick it up

lchrusciel avatar Mar 12 '19 08:03 lchrusciel

I know, it took me a while, but I finally found some time to do something about it. Unfortunately, I wasn't able to force phpunit bridge to see ApiTestCase, because it is using its own composer autoload definition :(

lchrusciel avatar Jul 27 '19 14:07 lchrusciel

Ref. https://travis-ci.org/lchrusciel/ApiTestCase/jobs/564395812

lchrusciel avatar Jul 27 '19 14:07 lchrusciel