TAbstractTestSuiteBody::tearDownCompat()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 2
ccs 0
cts 1
cp 0
crap 2
rs 10
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\TestResult;
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...
15
16
trait TAbstractTestSuiteBody
17
{
18
19
	/**
20
	 * Runs the tests and collects their result in a TestResult.
21
	 *
22
	 * @param TestResult $result Test result.
23
	 *
24
	 * @return TestResult
25
	 */
26
	public function runCompat($result = null)
27
	{
28
		return parent::run($result);
29
	}
30
31
	/**
32
	 * Template Method that is called after the tests
33
	 * of this test suite have finished running.
34
	 */
35
	protected function tearDownCompat()
36
	{
37
38
	}
39
40
}
41