Skip to content

Commit 8d39739

Browse files
oliverkleesebastianbergmann
authored andcommitted
Streamline the types in Runner/BaseTestRunner.php
This is the backport of #3652.
1 parent 64cb33f commit 8d39739

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

src/Runner/BaseTestRunner.php

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,22 +21,49 @@
2121
*/
2222
abstract class BaseTestRunner
2323
{
24+
/**
25+
* @var int
26+
*/
2427
public const STATUS_UNKNOWN = -1;
2528

29+
/**
30+
* @var int
31+
*/
2632
public const STATUS_PASSED = 0;
2733

34+
/**
35+
* @var int
36+
*/
2837
public const STATUS_SKIPPED = 1;
2938

39+
/**
40+
* @var int
41+
*/
3042
public const STATUS_INCOMPLETE = 2;
3143

44+
/**
45+
* @var int
46+
*/
3247
public const STATUS_FAILURE = 3;
3348

49+
/**
50+
* @var int
51+
*/
3452
public const STATUS_ERROR = 4;
3553

54+
/**
55+
* @var int
56+
*/
3657
public const STATUS_RISKY = 5;
3758

59+
/**
60+
* @var int
61+
*/
3862
public const STATUS_WARNING = 6;
3963

64+
/**
65+
* @var string
66+
*/
4067
public const SUITE_METHODNAME = 'suite';
4168

4269
/**
@@ -52,7 +79,7 @@ public function getLoader(): TestSuiteLoader
5279
* This is a template method, subclasses override
5380
* the runFailed() and clearStatus() methods.
5481
*
55-
* @param array|string $suffixes
82+
* @param string|string[] $suffixes
5683
*
5784
* @throws Exception
5885
*/

0 commit comments

Comments
 (0)