Closed jcchavezs closed 4 years ago
I don't seem to get the warnings here. Any clue @mszabo-wikia @piotrooo ?
@jcchavezs I think this is because MockTracerTest::testInjectSuccess uses an injector callable that expects $carrier
to be passed by value, rather than by reference, so it causes no warning. The warning is triggered when we change it to expect $carrier
by reference (like a real-life injector would do).
Short description of what this PR does:
declare(strict_types=1);
in all PHP files.Checklist
Ping @cawolf @piotrooo @mszabo-wikia