AllTests   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 9
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 10 1
1
<?php
2
3
require_once __DIR__ . '/simple_include.php';
4
require_once __DIR__ . '/calendar_include.php';
5
6
define('TEST_RUNNING', true);
7
8
require_once __DIR__ . '/calendar_tests.php';
9
require_once __DIR__ . '/calendar_tabular_tests.php';
10
require_once __DIR__ . '/validator_tests.php';
11
require_once __DIR__ . '/calendar_engine_tests.php';
12
require_once __DIR__ . '/calendar_engine_tests.php';
13
require_once __DIR__ . '/table_helper_tests.php';
14
require_once __DIR__ . '/decorator_tests.php';
15
require_once __DIR__ . '/util_tests.php';
16
17
/**
18
 * Class AllTests.
19
 */
20
class AllTests extends GroupTest
0 ignored issues
show
Bug introduced by
The type GroupTest was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
21
{
22
    /**
23
     * AllTests constructor.
24
     */
25
    public function __construct()
26
    {
27
        $this->GroupTest('All PEAR::Calendar Tests');
28
        $this->AddTestCase(new CalendarTests());
29
        $this->AddTestCase(new CalendarTabularTests());
30
        $this->AddTestCase(new ValidatorTests());
31
        $this->AddTestCase(new CalendarEngineTests());
32
        $this->AddTestCase(new TableHelperTests());
33
        $this->AddTestCase(new DecoratorTests());
34
        $this->AddTestCase(new UtilTests());
35
    }
36
}
37
38
$test = new AllTests();
39
$test->run(new HtmlReporter());
0 ignored issues
show
Bug introduced by
The type HtmlReporter was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
40