| Conditions | 3 |
| Paths | 3 |
| Total Lines | 16 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 26 | public function getPrunedResults( |
||
| 27 | BaseLineFileName $baseLineFileName, |
||
| 28 | string $analysisResults, |
||
| 29 | ProjectRoot $projectRoot, |
||
| 30 | bool $ignoreWarnings, |
||
| 31 | ): PrunedResults { |
||
| 32 | if (null !== $this->throwable) { |
||
| 33 | throw $this->throwable; |
||
| 34 | } |
||
| 35 | $this->assertSameAllowingExtraNewLine($this->expectedAnalysisResults, $analysisResults); |
||
| 36 | |||
| 37 | if (null !== $this->projectRoot) { |
||
| 38 | Assert::assertSame($this->projectRoot->getProjectRootDirectory(), $projectRoot->getProjectRootDirectory()); |
||
| 39 | } |
||
| 40 | |||
| 41 | return $this->prunedOutputResults; |
||
| 42 | } |
||
| 44 |