| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 16 | 20 | public function __construct(Settings $settings, Style $style) |
|
| 17 | { |
||
| 18 | 20 | $frames = $settings->getFrames(); |
|
| 19 | 20 | Sentinel::assertFrames($frames); |
|
| 20 | 20 | $this->frames = new Circular($frames); |
|
| 21 | 20 | $this->init($style); |
|
| 22 | 20 | $this->currentFrameErasingLength = |
|
| 23 | 20 | Calculator::computeErasingLength($frames) + strlen($this->spacer) + $this->formatErasingShift; |
|
| 24 | 20 | } |
|
| 34 |