| Total Complexity | 4 |
| Total Lines | 26 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | final class Cat extends Animal |
||
| 10 | { |
||
| 11 | public function populateRecord($row): void |
||
| 12 | { |
||
| 13 | parent::populateRecord($row); |
||
| 14 | |||
| 15 | $this->setDoes('meow'); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function getException(): void |
||
| 19 | { |
||
| 20 | throw new Exception('no'); |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * This is to test if __isset catches the error. |
||
| 25 | * |
||
| 26 | * @throw DivisionByZeroError |
||
| 27 | */ |
||
| 28 | public function getThrowable(): float|int |
||
| 31 | } |
||
| 32 | |||
| 33 | public function setNonExistingProperty(string $value): void |
||
| 37 |