-
Notifications
You must be signed in to change notification settings - Fork 58
Use newer versions of PHPUnit #300
Comments
Could we require users to add the PHPUnit dependency to their project in A simple fix would be to check for an existing wp-dev-lib/scripts/travis.install.sh Line 10 in d8207e7
as we do here already: wp-dev-lib/scripts/check-diff.sh Line 454 in 90574b4
Thougts? |
Actually, the whole thing here might no longer be necessary: wp-dev-lib/scripts/travis.install.sh Lines 10 to 27 in d8207e7
since we're already installing PHPunit during wp-dev-lib/scripts/check-diff.sh Lines 454 to 459 in 90574b4
which runs right after: wp-dev-lib/scripts/travis.install.sh Line 30 in d8207e7
|
@kasparsd Checking for an existing binary from composer makes sense to me. Adding that would be a nice enhancement still. |
WordPress core runs tests using PHPUnit 7, 6, or 4, depending on the PHP version:
https://github.com/WordPress/wordpress-develop/blob/1f1cf751e5130249ee06684399f001ae4479e650/.travis.yml#L62-L82
wp-dev-lib however uses PHPUnit 4 or 5, depending on PHP version:
wp-dev-lib/scripts/travis.install.sh
Lines 11 to 16 in d8207e7
Is there any chance wp-dev-lib could use more up-to-date PHPUnit versions as well?
The text was updated successfully, but these errors were encountered: