jangregor/phpstan-prophecy
PHPStan extension for phpspec/prophecy that improves type inference in tests. It teaches PHPStan the real types returned from Prophecy workflows like prophesize(), willExtend(), and reveal(), so your revealed doubles are understood as the mocked class.
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | ^2.1.5 |
|
Package
|
Constraint
|
|---|---|
| ergebnis/composer-normalize | ^2.50.0 |
| ergebnis/license | ^2.7.0 |
| ergebnis/php-cs-fixer-config | ^6.60.2 |
| php-cs-fixer/shim | ^3.94.1 |
| phpspec/prophecy | ^1.7.0 |
| phpspec/prophecy-phpunit | ^2.3 |
| phpunit/phpunit | ^9.1.0 |
How can I help you explore Laravel packages today?