phpstan-mockery
phpstan-mockery copied to clipboard
PHPStan extension for Mockery
Results
12
phpstan-mockery issues
Sort by
recently updated
recently updated
newest added
When creating a mock and setting a property on the mock, which is the recommended way for mocking public properties, it gives an undefined property error. ``` $user = Mockery::mock(User::class);...
`Mockery::mock()` allow to add traits into mocks: ```php