Closed mvhirsch closed 6 years ago
While using composer require is not wrong, the usage of ~ should be avoided in this case. See https://github.com/JulienBreux/phpunit-docker/blob/master/templates/Dockerfile.liquid#L50
composer require
~
Using composer, the image phpunit/phpunit:6.5.3 now uses PHPUnit in version 6.5.5 (because it's allowed within ~).
phpunit/phpunit:6.5.3
For example: Docker image 2db97ed81ba6:
$> docker run -it phpunit/phpunit:6.5.3 --help PHPUnit 6.5.5 by Sebastian Bergmann, Julien Breux (Docker) and contributors.
Instead of using tilde, we should use ^ which will pin it on 6.5.3.* instead of 6.5.3 or higher (on patch-level).
^
6.5.3.*
6.5.3 or higher
Since this was already fixed, I'll close this issue. Thanks!
While using
composer require
is not wrong, the usage of~
should be avoided in this case. See https://github.com/JulienBreux/phpunit-docker/blob/master/templates/Dockerfile.liquid#L50Using composer, the image
phpunit/phpunit:6.5.3
now uses PHPUnit in version 6.5.5 (because it's allowed within~
).For example: Docker image 2db97ed81ba6:
Instead of using tilde, we should use
^
which will pin it on6.5.3.*
instead of6.5.3 or higher
(on patch-level).