Closed astronom closed 9 months ago
This rule does not check that it should be Response
$commandTester = new CommandTester($this->command); $commandTester->execute(); $this->assertSame(64, $commandTester->getStatusCode());
Rector will be fix like this
+ $this->assertSame(64, $commandTester->getStatusCode(), $commandTester->getContent());
Need to check that it is Response or smth else
@astronom could you try provide a patch? Using isObjectType() check on method call var seems can be used.
isObjectType()
Thank you.
Bug Report
This rule does not check that it should be Response
Rector will be fix like this
Expected Behaviour
Need to check that it is Response or smth else