AbstractTestSuite   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 4
c 1
b 0
f 0
dl 0
loc 19
ccs 0
cts 4
cp 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A tearDown() 0 3 1
A run() 0 3 1
1
<?php
2
/**
3
 * This file is part of the phpunit-mink library.
4
 * For the full copyright and license information, please view
5
 * the LICENSE file that was distributed with this source code.
6
 *
7
 * @copyright Alexander Obuhovich <[email protected]>
8
 * @link      https://github.com/aik099/phpunit-mink
9
 */
10
11
namespace ConsoleHelpers\PHPUnitCompat;
12
13
14
use PHPUnit\Framework\TestSuite;
0 ignored issues
show
Bug introduced by
The type PHPUnit\Framework\TestSuite 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...
15
16
/**
17
 * Implementation for PHPUnit 5
18
 */
19
abstract class AbstractTestSuite extends TestSuite
20
{
21
22
	use TAbstractTestSuiteBody;
23
24
	/**
25
	 * @inheritDoc
26
	 */
27
	public function run(\PHPUnit_Framework_TestResult $result = null)
0 ignored issues
show
Bug introduced by
The type PHPUnit_Framework_TestResult 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...
28
	{
29
		return $this->runCompat($result);
30
	}
31
32
	/**
33
	 * @inheritDoc
34
	 */
35
	protected function tearDown()
36
	{
37
		$this->tearDownCompat();
38
	}
39
40
}
41