Allow PHPUnit 12
This pull request
- [x] Allow this package to work with PHPUnit 12
This is a tentative PR to see if we can just widen the constraint, or if we need to do more work.
Static analysis is failing due to prophecy-phpunit not being ready yet, so I also opened https://github.com/phpspec/prophecy-phpunit/pull/67
Tests are running only on PHPUnit 9 though :( we should change that
looks like we need to wait for the phpspec/prophecy-phpunit release tag. /cc @stof anything planned?
@alexander-schranz since it's a require-dev, I took the liberty of adding a workaround for this. Are you ok with merging it in this way?
@Jean85 I'm fine to merge it but not tag it would before tagging revert the master and specially reactivate composer strict linting, when phpunity-prophecy is tagged. Can you open a PR with reverting that parts?
@alexander-schranz done in #386
@Jean85 thank you! @stof feel free to ping me when prophecy-phpunit is released.