[wp-trac] [WordPress Trac] #43218: PHPUnit 7.x support
WordPress Trac
noreply at wordpress.org
Wed Mar 7 09:21:44 UTC 2018
#43218: PHPUnit 7.x support
------------------------------+------------------------------
Reporter: ayeshrajans | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
------------------------------+------------------------------
Changes (by dingo_bastard):
* keywords: => needs-patch
Comment:
Just to clarify, for unit tests to pass, we need to use PHPUnit 6? I tried
running tests and I got
> PHP Fatal error: Class PHPUnit_Util_Test may not inherit from final
class (PHPUnit\Util\Test) in /vagrant-local/www/wordpress-
develop/tests/phpunit/includes/phpunit6-compat.php on line 18
error. Will downgrading the PHPUnit to v6 get rid of this?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43218#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list