| Conditions | 4 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | public function __construct($message = "", $status = Migration::STATUS_DONE, \Exception $previous = null) |
||
| 13 | { |
||
| 14 | if ($status !== Migration::STATUS_DONE && $status !== Migration::STATUS_SKIPPED && $status !== Migration::STATUS_FAILED) { |
||
| 15 | throw new \Exception("Unsupported migration status $status in MigrationAbortedException"); |
||
| 16 | } |
||
| 17 | |||
| 18 | parent::__construct($message, $status, $previous); |
||
| 19 | } |
||
| 20 | } |
||
| 21 |