phpunit-arraysubset-asserts
phpunit-arraysubset-asserts copied to clipboard
Provides assertArraySubset for use in PHPunit
Current autoloading scheme is broken on phpstan 1.7.0 since it does not run code anymore (uses static reflection) Specifically, it now reports `Call to an undefined static method My\Ns\ATest::assertArraySubset()` because...
Could you take a look at the explanation for the frustrations with the deprecated method i posted: https://github.com/sebastianbergmann/phpunit/issues/3494#issuecomment-479905197 Would this be something you are interested in to implement?
I have several integration tests where I have to test an array is a subset of another array. These tests are implemented in a generic way for a specific case....
Version 11 has been [released](https://phpunit.de/announcements/phpunit-11.html) so we should add compatibility. Possibly its as easy as just allowing `^11.0` without any further changes? :thinking: I can take a look.
Updates the requirements on [dms/coding-standard](https://github.com/rdohms/dms-coding-standard) to permit the latest version. Release notes Sourced from dms/coding-standard's releases. v12.0.0 What's Changed Update Standard by @rdohms in rdohms/dms-coding-standard#5 Full Changelog: https://github.com/rdohms/dms-coding-standard/compare/v9.0.0...v12.0.0 Commits 8fc4ed4...
Fixes https://github.com/rdohms/phpunit-arraysubset-asserts/issues/80
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start)...
Allow for phpunit version 11.* to be used, addressing #85 + _should_ handle the case of https://github.com/rdohms/phpunit-arraysubset-asserts/pull/81/files#r1557304228 so thank you for the suggestion. Did run the job using `nektos/act` and...