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