Closed Headd2k closed 4 years ago
sorry, reading the questions now:
thanks for your quick reply! i updated the pr to remove the base php platform setting. the initial purpose was to have a "safer" process for adding new dependencies. i currently have php 7.2 on my local machine. when i check out the library and run "composer require --dev phpunit/phpunit" i get phpunit 8.x installed because this version is compatible with php 7.2. but the library must support php 7.1. so with the "platform" setting in the composer configuration the require command would have installed phpunit 7.x as this was the last phpunit version branch supporting php 7.1.
thanks for the explanation. i don't think we need to worry about adding dependencies: travis-ci will catch it if it goes wrong, and its not often that we add new dependencies. (a library is much more stable than an application usually)
this pr adds missing phpunit dev dependencies, fixes existing tests and sets base php platform in composer to ensure only compatible dependencies
What's in this PR?
Why?
Existing PHPUnit tests should get executed during CI runs.
Checklist
To Do