| Total Complexity | 4 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Coverage | 75% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | abstract class Warning |
||
| 6 | { |
||
| 7 | const CODE = 0; |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $message = ''; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var int |
||
| 16 | */ |
||
| 17 | protected $rfcNumber = 0; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @return string |
||
| 21 | */ |
||
| 22 | 12 | public function message() |
|
| 23 | { |
||
| 24 | 12 | return $this->message; |
|
| 25 | } |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return int |
||
| 29 | */ |
||
| 30 | 12 | public function code() |
|
| 31 | { |
||
| 32 | 12 | return self::CODE; |
|
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return int |
||
| 37 | */ |
||
| 38 | public function RFCNumber() |
||
| 39 | { |
||
| 40 | return $this->rfcNumber; |
||
| 41 | } |
||
| 42 | |||
| 43 | 12 | public function __toString() |
|
| 46 | } |
||
| 47 | } |
||
| 48 |