I think phpunit 8.4 removed PHPUnit\Util\InvalidArgumentHelper
smknstd opened this issue · 5 comments
smknstd commented
Error: Class 'PHPUnit\Util\InvalidArgumentHelper' not found
vendor/dms/phpunit-arraysubset-asserts/src/ArraySubsetAsserts.php:36
smknstd commented
alecwcp commented
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.