| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 29 | public function handleLogItem(AbstractParaunitProcess $process, \stdClass $logItem) |
|
| 26 | { |
||
| 27 | 29 | if ($process->getExitCode() === 0) { |
|
| 28 | 19 | return; |
|
| 29 | } |
||
| 30 | |||
| 31 | 12 | if (strpos($process->getOutput(), 'deprecation') !== false) { |
|
| 32 | 3 | $testResult = $this->createTestResult($process); |
|
| 33 | 3 | $this->testResultContainer->handleTestResult($process, $testResult); |
|
| 34 | } |
||
| 35 | } |
||
| 36 | |||
| 45 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..