rdohms/phpunit-arraysubset-asserts

I think phpunit 8.4 removed PHPUnit\Util\InvalidArgumentHelper

smknstd opened this issue · 5 comments

  Error: Class 'PHPUnit\Util\InvalidArgumentHelper' not found

vendor/dms/phpunit-arraysubset-asserts/src/ArraySubsetAsserts.php:36

PHPUnit\Util\InvalidArgumentHelper was marked as internal - and so wasn't subject to the same backwards compatibility promises.
This has been addressed in this commit 2b1fd90
That commit also makes the required version of PHPUnit to ^9.0 - so requires updating your project to PHPUnit at the same time. We're not ready to do that but want to make use of this assertion - I've made a fork and hope to get the time to address this but allow supporting PHPUnit 8 and 9, I'll post here if I make any progress with this.

@alecwcp i'm looking into fixing that and launching a 0.1.1 version

Fantastic, thanks @rdohms

Fixed in v0.1.1 for PHPunit 8.4 and in v0.2.0 for PHPunit v9