Skip to content

Commit f5a47f2

Browse files
committed
Also declare trait properties in AsyncTestCase
Stops undefined warnings in PhpStorm.
1 parent af9c2b7 commit f5a47f2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/AsyncTestCase.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ abstract class AsyncTestCase extends PHPUnitTestCase
2424
/** @var int Minimum runtime in milliseconds. */
2525
private $minimumRuntime = 0;
2626

27+
/** @var string Temporary storage for actual test name. */
28+
private $realTestName;
29+
30+
/** @var bool */
31+
private $setUpInvoked = false;
32+
2733
final protected function runTest()
2834
{
2935
parent::setName('runAsyncTest');

0 commit comments

Comments
 (0)