zendframework / zend-diactoros

PSR-7 HTTP Message implementation
BSD 3-Clause "New" or "Revised" License
1.55k stars 152 forks source link

Implement PSR-17 #326

Closed weierophinney closed 6 years ago

weierophinney commented 6 years ago

This patch implements the PSR-17 interfaces, and tests them against the http-interop/http-factory-tests integration test suite.

As part of the change, we are also able to remove the additional integration test dependency when testing against the PSR-7 integration tests. Those tests rely on PSR-17 factories, which we now provide, and map within the phpunit.xml.dist file. As such, both PSR-7 and PSR-17 integration tests will run for every build target.

All PSR-17 implementations are alongside the PSR-7 classes they create.

Also adds php nightly build to matrix, to ensure we are prepared for PHP 7.3.

weierophinney commented 6 years ago

URLs fixed, and {@inheritDoc} docblocks have been added.