1 | <?php |
||
22 | class ListCommandTest extends \Mockery\Adapter\Phpunit\MockeryTestCase |
||
23 | { |
||
24 | /** |
||
25 | * @covers ::__construct |
||
26 | * @covers ::configure |
||
27 | * @covers ::execute |
||
28 | */ |
||
29 | public function testExecuteListsCommands() |
||
50 | |||
51 | /** |
||
52 | * Returns a factory mock object with the provided template names returned using the `getAllNames()` method. |
||
53 | * |
||
54 | * @param string[] $templateNames |
||
55 | * |
||
56 | * @return m\MockInterface|Factory |
||
57 | */ |
||
58 | private function givenAFactoryWithTemplateNames(array $templateNames) |
||
65 | } |
||
66 |
This check looks at variables that are passed out again to other methods.
If the outgoing method call has stricter type requirements than the method itself, an issue is raised.
An additional type check may prevent trouble.