| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | 1 | public function __construct(string $currentBranch = '', string $targetBranch = '', ?\Throwable $previous = null) |
|
| 12 | { |
||
| 13 | 1 | parent::__construct( |
|
| 14 | 1 | sprintf( |
|
| 15 | 1 | 'You are not on the target branch. Current branch is "%s", target is "%s"', |
|
| 16 | 1 | $currentBranch, |
|
| 17 | 1 | $targetBranch, |
|
| 18 | 1 | ), |
|
| 19 | 1 | $previous, |
|
| 20 | 1 | ); |
|
| 23 |