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.
--no-suggest00289cb - Bump metcalfc/changelog-generator from v0.4.4 to v1.0.099974aa - Lock closed issues3182946 - Drop Phing for Makefilee0e52bf - chore: Use the latest PHPUnit wherever possible, use PHP 8.0 for PHPCS2b4acc6 - fix(ci): downgrade mockery when downgrading phpunit because of conflicts7cc74bf - Fix BC promise buga45fee4 - Allow toggling union to intersection type conversionmakePartial() (8f3f0dc0bbc8c413224459a25f89a2cef5924871), #7Support complex mock syntax:
alias:overload:Thanks to @bbatsche for this! (#6)
Fixed Call to an undefined method Mockery\CompositeExpectation::... #2, thanks @simPod!
Support for expects() method (#1) - thanks @msvrtan 😊
Initial release
How can I help you explore Laravel packages today?