[buddypress-trac] [BuddyPress Trac] #8381: Some composer dependencies fail to install with composer v2.0.0
buddypress-trac
noreply at wordpress.org
Sat Feb 20 14:04:16 UTC 2021
#8381: Some composer dependencies fail to install with composer v2.0.0
------------------------------+-----------------------
Reporter: imath | Owner: imath
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 8.0.0
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: has-patch |
------------------------------+-----------------------
Changes (by imath):
* keywords: => has-patch
Comment:
In
[https://buddypress.trac.wordpress.org/attachment/ticket/8381/8381.patch
8381.patch], I'm making sure all dependencies are installed by updating
them to their compatible versions with composer v2.0+. I'm also taking
this opportunity to add the `phpunit/phpunit` dependency to be able to run
PHP Unit tests with version 8.0 of PHP.
To test PHP 8.0 using @wordpress/env, you then simply need to run:
1. `composer update`
2. `export WP_ENV_PHP_VERSION="8.0"`
3. `npm run wp-env start`
4. `npm run test-php:composer` or `npm run test-php-multisite:composer`
We should then be able to use @wordpress/env to create a first GitHub
action to test PHP 8.0 see #8421
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8381#comment:5>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list