pact-foundation / pact-php

PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
Apache License 2.0
271 stars 92 forks source link

phpunit versions should be constrained through composer.json #193

Closed ctrl-f5 closed 1 year ago

ctrl-f5 commented 3 years ago

phpunit should be moved from require-devto require so this package can constrain which versions of phpunit it supports.

Currently the support is documented in the readme file, but one can install it with unsupported versions. by moving phpunit into require composer can check supported versions during install.

YOU54F commented 1 year ago

Completed by

https://github.com/pact-foundation/pact-php/commit/7b50c96f820ed0f5cc422fb4c417a2df7b86f6d0