EmptyTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 28
rs 10
c 1
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 2 1
1
<?php
2
3
/**
4
 * EmptyTest.php
5
 *
6
 * This file contains the most barebone class that does
7
 * not do anything.
8
 *
9
 * PHP version 7.4
10
 *
11
 * @category Examples
12
 * @package  RedboxTestSuite
13
 * @author   Johnny Mast <[email protected]>
14
 * @license  https://opensource.org/licenses/MIT MIT
15
 * @link     https://github.com/johnnymast/redbox-testsuite
16
 * @since    1.0
17
 */
18
19
require __DIR__ . '/../vendor/autoload.php';
20
21
use Redbox\Testsuite\Interfaces\ContainerInterface;
22
use Redbox\Testsuite\TestCase;
23
use Redbox\Testsuite\TestSuite;
24
25
/**
26
 * Class EmptyTest.
27
 */
28
class EmptyTest extends TestCase
29
{
30
31
    /**
32
     * Tell the TestCase what the
33
     * min reachable score is.
34
     *
35
     * @var int
36
     */
37
    protected int $minscore = 0;
38
39
    /**
40
     * Tell the TestCase what the
41
     * max reachable score is.
42
     *
43
     * @var int
44
     */
45
    protected int $maxscore = 10;
46
47
    /**
48
     * Run the test.
49
     *
50
     * @param ContainerInterface $container The storage container for the TestSuite.
51
     *
52
     * @return void
53
     */
54
    public function run(ContainerInterface $container)
55
    {
56
        // Nothing here yet
57
    }
58
}
59
60
$suite = new TestSuite();
61
$suite->attach(EmptyTest::class)
62
    ->run();
63