| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | final class PatchScoper implements Scoper |
||
| 21 | { |
||
| 22 | private Scoper $decoratedScoper; |
||
| 23 | private string $prefix; |
||
| 24 | private Patcher $patcher; |
||
| 25 | 1 | ||
| 26 | public function __construct(Scoper $decoratedScoper, string $prefix, Patcher $patcher) |
||
| 27 | 1 | { |
|
| 28 | $this->decoratedScoper = $decoratedScoper; |
||
| 29 | $this->prefix = $prefix; |
||
| 30 | $this->patcher = $patcher; |
||
| 31 | } |
||
| 32 | |||
| 33 | 1 | public function scope(string $filePath, string $contents): string |
|
| 39 | ); |
||
| 40 | 1 | } |
|
| 42 |