From a32a2c68998c4422dc6de4e0036501608601cbb0 Mon Sep 17 00:00:00 2001 From: Tom Klingenberg Date: Wed, 5 Aug 2020 00:53:33 +0200 Subject: [PATCH] WS-Fixes Phpunit upstream indents (prefixes) docblock @param annotations and I can imagine that some white-space has been taken over from that into the stub files when writing them. Also for separation by empty lines between methods which looks as well as an error quickly porting from upstream (better than anything else). --- stubs/MockBuilder.phpstub | 2 +- stubs/TestCase.phpstub | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/stubs/MockBuilder.phpstub b/stubs/MockBuilder.phpstub index 2ffcde3..ea97e34 100644 --- a/stubs/MockBuilder.phpstub +++ b/stubs/MockBuilder.phpstub @@ -11,7 +11,7 @@ class MockBuilder { /** * @template-typeof T $type - * @param TestCase $testCase + * @param TestCase $testCase * @param class-string $type */ public function __construct(TestCase $testCase, $type) {} diff --git a/stubs/TestCase.phpstub b/stubs/TestCase.phpstub index 2e6e0cf..46edfc7 100644 --- a/stubs/TestCase.phpstub +++ b/stubs/TestCase.phpstub @@ -30,6 +30,7 @@ abstract class TestCase extends Assert implements Test, SelfDescribing * @return ObjectProphecy */ public function prophesize($classOrInterface): ObjectProphecy {} + /** * @param class-string<\Throwable> $exception * @return void