Total Complexity | 4 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
8 | class Context |
||
9 | { |
||
10 | protected $file; |
||
11 | |||
12 | protected $line; |
||
13 | |||
14 | 5 | public function __construct(string $file, int $line) |
|
15 | { |
||
16 | 5 | $this->file = $file; |
|
17 | 5 | $this->line = $line; |
|
18 | 5 | } |
|
19 | |||
20 | 4 | public function getPlaceInFile(int $linesBefore = 4, int $linesAfter = 4): array |
|
41 | } |
||
42 | } |
||
43 |