-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DOCS] Extend PHIVE section in docs #1388
base: main
Are you sure you want to change the base?
Conversation
8808a1b
to
8d22277
Compare
Pull Request Test Coverage Report for Build 10148954928Details
💛 - Coveralls |
To support php version 7.4 and 8.2 in the `tea` extension, we are using PHIVE | ||
to install `phpunit/phpcov`. | ||
We need `phpunit/phpcov` in version 10 to support php 8.2. | ||
Our minimum php version 7.4 would prevent the installation with composer. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd suggest to explain this in more detail to explain the problem, e.g., with this wording:
To keep things simple, we try do model as many dependencies as possible as Composer dependencies in the
composer.json`. However, sometime a dependency is not available for all PHP versions that we support, or it might conflict with another dependency. One of this cases is PHPCOV, a library we use to collect and transmit code coverage information: The version that works with PHP 8.2 and 8.3 does not work with PHP 7.3. So we have switch this particular dependency from being installed via Composer to being installed via PHIVE.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could also add this explanation:
As we usually only collect code coverage data on CI and not locally, it's usually not necessary to install PHPDOV locally.
@kanow Let's get this PR finished and merged! 🚀 |
Fixes #543
Fixes #429