Failed Conditions
Push — master ( 860564...f5c012 )
by Alexander
02:49 queued 01:18
created

TAbstractTestCaseBody::onNotSuccessfulTestCompat()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 0
c 1
b 0
f 0
nc 1
nop 1
dl 0
loc 2
ccs 1
cts 1
cp 1
crap 1
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
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