phpstan-prophecy
phpstan-prophecy copied to clipboard
Follows #. Related to https://github.com/phpstan/phpstan/issues/8105 Fixes #. I'm not 100% sure if this will solve the issue in all cases or if it will make problems in other cases 🤔....
I do not use `phpstan/phpstan` and I do not use `phpspec/prophecy`. Perhaps someone else has interest in maintaining this repository? /cc @Jan0707
This pull request fixes #228.
#### Steps required to reproduce the problem : Not sure this is an "issue' however, `phpstan` considers a call such as `$this->packageRepositoryProphecy->findModules()->willReturn([]);` problematic since `findModules` most often that not return...
For reference, see https://github.com/sebastianbergmann/phpunit/issues/4141.
There should be support for `ProphecySubjectInterface::getProphecy()`. It should be handled the same way as `prophesize()`.
Currently the CI is not testing prophecy trait or PHPUnit 10 and 11. #### Expected Result Add CI tests for #334 #### Actual Result No CI Tests against PHPUnit 10...
This pull request replaces https://github.com/Jan0707/phpstan-prophecy/pull/298 which did replacer `@template` with `@template-covariant` Since Prophecy 1.17.0 the template are correctly added to prophecy itself and so the stubs are not longer required....
Build on top of: https://github.com/Jan0707/phpstan-prophecy/pull/309 Diff: https://github.com/Jan0707/phpstan-prophecy/pull/310/commits/b1ac773821710fe77f787047f13af61abf1035b3 TODO: - [ ] wait for #309 getting merged - [ ] rebase to master
Bumps [ergebnis/composer-normalize](https://github.com/ergebnis/composer-normalize) from 2.6.1 to 2.45.0. Release notes Sourced from ergebnis/composer-normalize's releases. 2.45.0 What's Changed Enhancement: Update schema.json by @ergebnis-bot in ergebnis/composer-normalize#1405 Enhancement: Update ergebnis/json by @localheinz in ergebnis/composer-normalize#1411 Enhancement:...