| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | public function __construct(Report $report, $path, $beforeHash, $afterHash, Filesystem $filesystem = null) |
||
| 38 | { |
||
| 39 | $this->report = $report; |
||
| 40 | $this->path = $path; |
||
| 41 | $this->beforeHash = $beforeHash; |
||
| 42 | $this->afterHash = $afterHash; |
||
| 43 | $this->filesystem = $filesystem ?: new Filesystem(); |
||
| 44 | $this->baseJsonReporter = new BaseJsonReporter($report, $path); |
||
| 45 | } |
||
| 46 | |||
| 65 |