| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 52 | protected function setUp(): void { |
||
| 53 | parent::setUp(); |
||
| 54 | |||
| 55 | // Set an Output formatter mock. |
||
| 56 | $outputFormatter = $this->getMockBuilder(OutputFormatterInterface::class)->getMock(); |
||
| 57 | |||
| 58 | // Set an Input mock. |
||
| 59 | $this->input = $this->getMockBuilder(InputInterface::class)->getMock(); |
||
|
|
|||
| 60 | |||
| 61 | // Set an Output mock. |
||
| 62 | $this->output = $this->getMockBuilder(OutputInterface::class)->getMock(); |
||
| 63 | $this->output->expects($this->any())->method("getFormatter")->willReturn($outputFormatter); |
||
| 64 | |||
| 65 | // Set a Symfony style mock. |
||
| 66 | $this->style = $this->getMockBuilder(StyleInterface::class)->getMock(); |
||
| 67 | } |
||
| 68 | } |
||
| 69 |
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..