Аbstract implementation or real tests at PHPUnit. Why I ask about tests for "interfaces" without strict types (in most cases)? Because many packages writing "Implementation of PSR-*" in description don't even suspect that is not true. As example: half libraries based on PSR-7 returning wrong result by Psr\Http\Message::getHeaders(). They returns headers with normalized names (array keys). Also some standarts have very abstact description, we do not need to look far for an example: Call Psr\Http\Message::withHeader('Foo', '...')->withAddedHeader('foo', '...'); What will return method getHeaders: ['Foo' => '...', ...] or ['foo' => '...', ...]? I don't found answer in PRS-7 :(
-- 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 php-fig+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/c4d8f4d2-663f-47c0-ab82-0092b6dd522b%40googlegroups.com.