On Tue, 8 Oct 2019, 20:31 Alexandru Pătrănescu, wrote:
> Hi Alessandro,
>
> But you can find example very easily.
> Take monolog: is not verifying that the $message is string but it's
> casting it to string later.
> If you send an object, it works now. After FIG releases a minor version,
> it
Hi Alessandro,
But you can find example very easily.
Take monolog: is not verifying that the $message is string but it's casting
it to string later.
If you send an object, it works now. After FIG releases a minor version, it
will break.
And I choose an object as example. But if they have
Hi Alexandru,
to be completely truthful, your case shouldn't be an issue for us, because
we're starting from the assumpion that that implementation follows the PSR,
which also describe (at the very least with PHPDoc) what types are allowed.
If the implementation allows other types (on top of