diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 0e509006a2f..bb8216ca838 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -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 */ diff --git a/stubs-rector/PHPUnit/Framework/TestCase.php b/stubs-rector/PHPUnit/Framework/TestCase.php index 5004986053c..e7bd1841693 100644 --- a/stubs-rector/PHPUnit/Framework/TestCase.php +++ b/stubs-rector/PHPUnit/Framework/TestCase.php @@ -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 $originalClassName + * + * @psalm-return MockObject&RealInstanceType + */ + protected function createMock(string $originalClassName): MockObject + { + } } }