phpstan/phpstan-mockery
PHPStan extension for Mockery: infers intersection types for mocks (Foo&MockInterface), understands shouldReceive/shouldHaveReceived/allows/expects, supports partial/alias/overload mocks, multiple interfaces, and proper constructor args for accurate static analysis.
|
Package
|
Constraint
|
|---|---|
| phpstan/phpstan | ^2.0 |
|
Package
|
Constraint
|
|---|---|
| mockery/mockery | ^1.6.11 |
| php-parallel-lint/php-parallel-lint | ^1.2 |
| phpstan/phpstan-phpunit | ^2.0 |
| phpstan/phpstan-strict-rules | ^2.0 |
| phpunit/phpunit | ^9.6 |
How can I help you explore Laravel packages today?