Purpose of this project is replicate error on prophesize an ExceptionInterface
that implements \Throwable
Used software:
- phpunit/phpunit: 7.5.0
- symfony/http-client-contracts: 2.0.1
docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp composer install
docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp composer vendor/phpunit/phpunit/phpunit tests/Service/ClientTest.php
Build Docker image
docker build -t php-7.3.13-with-composer - < docker/Dockerfile
Install dependencies
docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp php-7.3.13-with-composer composer install
Run tests
docker run -it --rm -v "$PWD":/usr/src/myapp -w /usr/src/myapp php-7.3.13-with-composer vendor/phpunit/phpunit/phpunit --bootstrap vendor/autoload.php tests/Service/ClientTest.php