Code Duplication    Length = 13-13 lines in 2 locations

src/PHPSemVerChecker/Operation/PropertyAdded.php 1 location

@@ 5-17 (lines=13) @@
2
3
namespace PHPSemVerChecker\Operation;
4
5
class PropertyAdded extends PropertyOperationUnary
6
{
7
	/**
8
	 * @var array
9
	 */
10
	protected $code = [
11
		'class' => ['V019', 'V020', 'V026'],
12
		'trait' => ['V049', 'V050', 'V055'],
13
	];
14
	/**
15
	 * @var string
16
	 */
17
	protected $reason = 'Property has been added.';
18
}
19

src/PHPSemVerChecker/Operation/PropertyRemoved.php 1 location

@@ 5-17 (lines=13) @@
2
3
namespace PHPSemVerChecker\Operation;
4
5
class PropertyRemoved extends PropertyOperationUnary
6
{
7
	/**
8
	 * @var array
9
	 */
10
	protected $code = [
11
		'class' => ['V008', 'V009', 'V027'],
12
		'trait' => ['V040', 'V041', 'V056'],
13
	];
14
	/**
15
	 * @var string
16
	 */
17
	protected $reason = 'Property has been removed.';
18
}
19