| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class Migration_Exception extends Exception { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Returns an exception if a migration can not constructed with DI. |
||
| 22 | * @code 101 |
||
| 23 | * @return Migration_Exception |
||
| 24 | */ |
||
| 25 | public static function failed_to_construct_migration( string $migration_class_name ): Migration_Exception { |
||
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Returns an exception for a none Migration (string class name or instance) type |
||
| 32 | * @code 102 |
||
| 33 | * @param string $var |
||
| 34 | * @return Migration_Exception |
||
| 35 | */ |
||
| 36 | public static function none_migration_type( string $var ): Migration_Exception { |
||
| 44 |