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

ClassMethodParameterNameChanged::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 17
Code Lines 15

Duplication

Lines 17
Ratio 100 %

Code Coverage

Tests 10
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 17
loc 17
ccs 10
cts 10
cp 1
rs 9.4285
cc 1
eloc 15
nc 1
nop 7
crap 1
1
<?php
2
3
namespace PHPSemVerChecker\Operation;
4
5 View Code Duplication
class ClassMethodParameterNameChanged extends ClassMethodOperationDelta
0 ignored issues
show
Duplication introduced by
This class seems to be duplicated in your project.

Duplicated code is one of the most pungent code smells. If you need to duplicate the same code in three or more different places, we strongly encourage you to look into extracting the code into a single class or operation.

You can also find more detailed suggestions in the “Code” section of your repository.

Loading history...
6
{
7
	/**
8
	 * @var array
9
	 */
10
	protected $code = [
11
		'class'     => ['V060', 'V061', 'V062'],
12
		'interface' => ['V063'],
13
		'trait'     => ['V064', 'V065', 'V066'],
14
	];
15
	/**
16
	 * @var string
17
	 */
18
	protected $reason = 'Method parameter name changed.';
19
}
20