Updated Rector to commit b6f53b95e8a0ced2dd8197f9c46640ee9010a63b

b6f53b95e8 add mock object test fixture (#5335)
This commit is contained in:
Tomas Votruba 2023-12-06 23:05:01 +00:00
parent fb06a0e1f2
commit e7bdaa4244
2 changed files with 15 additions and 2 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '79c57f019e1c94c72ef79cb6cbdda864bdc2e1c1';
public const PACKAGE_VERSION = 'b6f53b95e8a0ced2dd8197f9c46640ee9010a63b';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2023-12-06 21:22:55';
public const RELEASE_DATE = '2023-12-07 00:02:51';
/**
* @var int
*/

View File

@ -4,8 +4,21 @@ declare(strict_types=1);
namespace PHPUnit\Framework;
use PHPUnit\Event\NoPreviousThrowableException;
use PHPUnit\Framework\MockObject\MockObject;
if (! class_exists('PHPUnit\Framework\TestCase')) {
abstract class TestCase
{
/**
* @psalm-template RealInstanceType of object
*
* @psalm-param class-string<RealInstanceType> $originalClassName
*
* @psalm-return MockObject&RealInstanceType
*/
protected function createMock(string $originalClassName): MockObject
{
}
}
}