#51456 closed feature request (fixed)
Add an NPM command for easier PHPUnit testing on PHP 8
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 5.6 | Priority: | normal |
Severity: | normal | Version: | 5.6 |
Component: | Build/Test Tools | Keywords: | has-patch php8 |
Focuses: | Cc: |
Description (last modified by )
In order to maintain PHP 5.6.20 support and add support for PHP 8, Composer is currently being used to force PHPUnit 7.x for PHP 8 (see r48957 and r49037). It would be great to have an NPM command that makes it easier to run the test suite with the Composer installed version of PHPunit.
Something like npm run test:php8
. It could also be more general (maybe npm run test:php-composer
) in case the Composer installed version is desired past this compatibility shim.
Attachments (2)
Change History (10)
This ticket was mentioned in PR #572 on WordPress/wordpress-develop by desrosj.
4 years ago
#4
#5
@
4 years ago
- Owner set to desrosj
- Resolution set to fixed
- Status changed from new to closed
In 49099:
4 years ago
#6
Merged into core in revision 49099.
This ticket was mentioned in Slack in #core by sergey. View the logs.
4 years ago
Note: See
TracTickets for help on using
tickets.
Also updates the
.travis.yml
file to use this script.Ticket: https://core.trac.wordpress.org/ticket/51456