Failed Conditions
Pull Request — master (#4)
by Alexander
04:51 queued 03:24
created

TAbstractTestCaseBody   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A onNotSuccessfulTestCompat() 0 2 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
trait TAbstractTestCaseBody
15
{
16
17
	/**
18
	 * This method is called when a test method did not execute successfully.
19
	 *
20
	 * @param \Exception|\Throwable $e Exception.
21
	 *
22
	 * @return void
23
	 */
24 1
	protected function onNotSuccessfulTestCompat($e)
25
	{
26
27 1
	}
28
29
}
30