JulienBreux / phpunit-docker

DEPRECATED :package: Docker image to use PHPUnit as CLI.
https://hub.docker.com/r/phpunit/phpunit/
MIT License
47 stars 28 forks source link

Latest breaks since the release of PHPUnit 8 #90

Open yourpropertyexpert opened 5 years ago

yourpropertyexpert commented 5 years ago

I'm pretty sure it's because PHPUnit 8 requires PHP 7.2 or later???

jbouzekri commented 5 years ago

+1

yourpropertyexpert commented 5 years ago

As a temporary workaround, I've created docker image at yourpropertyexpert/myphpunit:first

Dockerfile

FROM thecodingmachine/php:7.2-v2-apache-node8

COPY . /var/www/html/ RUN ls RUN composer install

Composer.json { "name": "werarewe/fullsuite", "description": "Use this composer for the full repo for drone testing", "type": "project", "authors": [ { "name": "Mark Harrison", "email": "yourpropertyexpert@gmail.com" } ], "require": {}, "require-dev": { "phpunit/phpunit": "^8" } }

It's not great for several reasons:

However, it works :-)