Hello all,

I would like to ask for help to understand why was line

Calling Libraries SHOULD NOT assume that an Item created by one 
> Implementing Library is compatible with a Pool from another Implementing 
> Library.
>

introduced in commit 9cfeacf3b9913793aa2a159ffe1d04080349b281

This example is now used as justification for rejecting non-specific 
classes that interface says implementation supports.

This is visible in Symfony PSR-6 implementation 
https://github.com/symfony/symfony/blob/b0a85ad015ced23f66ebd6215176e2cf5161e9ca/src/Symfony/Component/Cache/Adapter/AbstractAdapter.php#L199
and Symfony HTTP client that is being designed now 
https://github.com/symfony/symfony/pull/30414#pullrequestreview-211896443

I'm afraid LSP breakages will become now more common.

-- 
You received this message because you are subscribed to the Google Groups "PHP 
Framework Interoperability Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/php-fig/c19a10bf-6d37-4221-b632-a5be36a71e4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to