1 | <?php |
||
12 | class DeprecationParser implements EventSubscriberInterface |
||
13 | { |
||
14 | /** @var TestResultHandlerInterface */ |
||
15 | private $testResultContainer; |
||
16 | |||
17 | /** |
||
18 | * DeprecationParser constructor. |
||
19 | * @param TestResultContainerInterface $testResultContainer |
||
20 | */ |
||
21 | 29 | public function __construct(TestResultContainerInterface $testResultContainer) |
|
25 | |||
26 | 59 | public static function getSubscribedEvents(): array |
|
32 | |||
33 | 29 | public function handleDeprecations(ProcessEvent $event) |
|
46 | |||
47 | 3 | private function createTestResult(AbstractParaunitProcess $process): TestResultWithMessage |
|
54 | } |
||
55 |
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..