File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change 55use PHPUnit \Framework \TestCase ;
66
77if ((new \ReflectionMethod (TestCase::class, 'setName ' ))->hasReturnType ()) {
8- // PHPUnit 7+
8+ /**
9+ * PHPUnit 7+
10+ *
11+ * @internal
12+ */
913 trait AsyncTestSetNameTrait
1014 {
1115 /** @var string Temporary storage for actual test name. */
@@ -21,7 +25,11 @@ final public function setName(string $name): void
2125 }
2226 }
2327} else {
24- // PHPUnit 6
28+ /**
29+ * PHPUnit 6
30+ *
31+ * @internal
32+ */
2533 trait AsyncTestSetNameTrait
2634 {
2735 /** @var string Temporary storage for actual test name. */
Original file line number Diff line number Diff line change 66use PHPUnit \Framework \TestCase ;
77
88if ((new \ReflectionMethod (TestCase::class, 'setUp ' ))->hasReturnType ()) {
9- // PHPUnit 8+
9+ /**
10+ * PHPUnit 8+
11+ *
12+ * @internal
13+ */
1014 trait AsyncTestSetUpTrait
1115 {
1216 /** @var bool */
@@ -20,7 +24,11 @@ protected function setUp(): void
2024 }
2125 }
2226} else {
23- // PHPUnit 6 or 7
27+ /**
28+ * PHPUnit 6 or 7
29+ *
30+ * @internal
31+ */
2432 trait AsyncTestSetUpTrait
2533 {
2634 /** @var bool */
You can’t perform that action at this time.
0 commit comments