Upgrade PHPUnit5CompatExtension

[MAILPOET-2588]
This commit is contained in:
Jan Jakeš
2019-12-19 13:40:04 +01:00
committed by amine-mp
parent 4a12051e81
commit ff7c63f0b3
7 changed files with 124 additions and 26 deletions

View File

@@ -0,0 +1,26 @@
<?php
/**
* @template TMockedClass
*/
class PHPUnit_Framework_MockObject_MockBuilder { // phpcs:ignore
/**
* @phpstan-param PHPUnit_Framework_TestCase $testCase
* @phpstan-param class-string<TMockedClass> $type
*/
public function __construct(PHPUnit_Framework_TestCase $testCase, $type) {
}
/**
* @phpstan-return PHPUnit_Framework_MockObject_MockObject&TMockedClass
*/
public function getMock() {
}
/**
* @phpstan-return PHPUnit_Framework_MockObject_MockObject&TMockedClass
*/
public function getMockForAbstractClass() {
}
}