Re: [BYLAW] Proposal: let PSRs evolve with the language

2019-10-08 Thread G. P. B.
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

Re: [BYLAW] Proposal: let PSRs evolve with the language

2019-10-08 Thread Alexandru Pătrănescu
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

Re: [BYLAW] Proposal: let PSRs evolve with the language

2019-10-08 Thread Alessandro Lai
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