Completed
Push — master ( 5294dc...c896df )
by T
04:42
created

ClassMethodAdded::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 8
Ratio 100 %

Code Coverage

Tests 7
CRAP Score 1

Importance

Changes 3
Bugs 0 Features 1
Metric Value
c 3
b 0
f 1
dl 8
loc 8
ccs 7
cts 7
cp 1
rs 9.4285
cc 1
eloc 6
nc 1
nop 4
crap 1
1
<?php
2
3
namespace PHPSemVerChecker\Operation;
4
5
class ClassMethodAdded extends ClassMethodOperationUnary
6
{
7
	/**
8
	 * @var array
9
	 */
10
	protected $code = [
11
		'class'     => ['V015', 'V016', 'V028'],
12
		'interface' => ['V034'],
13
		'trait'     => ['V047', 'V048', 'V057'],
14
	];
15
	/**
16
	 * @var string
17
	 */
18
	protected $reason = 'Method has been added.';
19
}
20