@@ 5-19 (lines=15) @@ | ||
2 | ||
3 | namespace PHPSemVerChecker\Operation; |
|
4 | ||
5 | class ClassMethodCaseChanged extends ClassMethodOperationDelta |
|
6 | { |
|
7 | /** |
|
8 | * @var array |
|
9 | */ |
|
10 | protected $code = [ |
|
11 | 'class' => ['V150', 'V156', 'V157'], |
|
12 | 'interface' => ['V151'], |
|
13 | 'trait' => ['V152', 'V158', 'V159'], |
|
14 | ]; |
|
15 | /** |
|
16 | * @var string |
|
17 | */ |
|
18 | protected $reason = 'Method name case was changed.'; |
|
19 | } |
|
20 |
@@ 5-18 (lines=14) @@ | ||
2 | ||
3 | namespace PHPSemVerChecker\Operation; |
|
4 | ||
5 | class ClassMethodImplementationChanged extends ClassMethodOperationDelta |
|
6 | { |
|
7 | /** |
|
8 | * @var array |
|
9 | */ |
|
10 | protected $code = [ |
|
11 | 'class' => ['V023', 'V024', 'V025'], |
|
12 | 'trait' => ['V052', 'V053', 'V054'], |
|
13 | ]; |
|
14 | /** |
|
15 | * @var string |
|
16 | */ |
|
17 | protected $reason = 'Method implementation changed.'; |
|
18 | } |
|
19 |
@@ 5-19 (lines=15) @@ | ||
2 | ||
3 | namespace PHPSemVerChecker\Operation; |
|
4 | ||
5 | class ClassMethodParameterDefaultValueChanged extends ClassMethodOperationDelta |
|
6 | { |
|
7 | /** |
|
8 | * @var array |
|
9 | */ |
|
10 | protected $code = [ |
|
11 | 'class' => ['V097', 'V098', 'V099'], |
|
12 | 'interface' => ['V079'], |
|
13 | 'trait' => ['V115', 'V116', 'V117'], |
|
14 | ]; |
|
15 | /** |
|
16 | * @var string |
|
17 | */ |
|
18 | protected $reason = 'Method parameter default value changed.'; |
|
19 | } |
|
20 |
@@ 5-19 (lines=15) @@ | ||
2 | ||
3 | namespace PHPSemVerChecker\Operation; |
|
4 | ||
5 | class ClassMethodParameterNameChanged extends ClassMethodOperationDelta |
|
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 |