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.
Architecture fit: The package is a targeted polyfill for a deprecated PHPUnit feature, designed as a non-intrusive dev dependency. It integrates seamlessly into existing test suites without altering production code, acting as a compatibility layer for test-specific functionality.
Integration feasibility: High; Composer-based installation with automatic compatibility checks for PHPUnit versions. Supports both trait and static usage patterns for easy adoption in existing test classes with minimal code changes.
Technical risk:
How can I help you explore Laravel packages today?