dms/phpunit-arraysubset-asserts
Polyfill for PHPUnit’s deprecated/removed assertArraySubset. Adds Assert::assertArraySubset() and a trait to keep existing tests working. Uses native PHPUnit behavior when available; provides the missing assertion for PHPUnit 8+ while supporting older versions.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpunit/phpunit | 0.70 | PHPUnit is the de facto unit testing framework for PHP, based on the xUnit architecture. Run tests, make assertions, and integrate with CI and code coverage. Install via PHAR or Composer and build reliable PHP applications. | 20,040 | 20,549 | 2,225 | 14M | 15 | 79.0 | 52.9 | BSD-3-Clause | 2 weeks ago | |
| php-mock/php-mock-phpunit | 0.69 | Integrate php-mock with PHPUnit to mock built-in PHP functions (like time(), file_get_contents(), etc.) in a controlled, namespaced way. Ideal for unit tests that need to simulate IO, time, and other global behaviors without changing production code. | 171 | 174 | 20 | 230K | 4 | 20.1 | 48.2 | WTFPL | 5 months ago |
How can I help you explore Laravel packages today?