File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed
Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 11parameters:
2- level: 2
2+ level: 3
33 paths:
44 - tests
5-
Original file line number Diff line number Diff line change @@ -187,6 +187,8 @@ public function testInvalidConfiguration(): void
187187
188188 private function getKernelMock (StoreInterface $ store ): MockInterface &CacheInvalidation
189189 {
190+ // https://github.com/phpstan/phpstan-mockery/issues/8
191+ /** @phpstan-ignore-next-line */
190192 return \Mockery::mock (CacheInvalidation::class)
191193 ->shouldReceive ('getStore ' )
192194 ->once ()
@@ -196,6 +198,8 @@ private function getKernelMock(StoreInterface $store): MockInterface&CacheInvali
196198
197199 private function getUnusedKernelMock (): CacheInvalidation &MockInterface
198200 {
201+ // https://github.com/phpstan/phpstan-mockery/issues/8
202+ /** @phpstan-ignore-next-line */
199203 return \Mockery::mock (CacheInvalidation::class)
200204 ->shouldNotReceive ('getStore ' )
201205 ->getMock ();
Original file line number Diff line number Diff line change @@ -180,6 +180,8 @@ public function testInvalidConfiguration(): void
180180
181181 private function getKernelMock (StoreInterface $ store ): CacheInvalidation &MockInterface
182182 {
183+ // https://github.com/phpstan/phpstan-mockery/issues/8
184+ /** @phpstan-ignore-next-line */
183185 return \Mockery::mock (CacheInvalidation::class)
184186 ->shouldReceive ('getStore ' )
185187 ->once ()
@@ -189,6 +191,8 @@ private function getKernelMock(StoreInterface $store): CacheInvalidation&MockInt
189191
190192 private function getUnusedKernelMock (): CacheInvalidation &MockInterface
191193 {
194+ // https://github.com/phpstan/phpstan-mockery/issues/8
195+ /** @phpstan-ignore-next-line */
192196 return \Mockery::mock (CacheInvalidation::class)
193197 ->shouldNotReceive ('getStore ' )
194198 ->getMock ();
You can’t perform that action at this time.
0 commit comments