Add PHP8 compatibility to v1.x (#177)

* Add PHP8 compatible requirements
* Readd DNS to allow resolving local shared domains
This commit is contained in:
Marcel Pociot authored and GitHub committed 2021-01-14 13:20:59 +01:00
1 parent ff232d9ef4
commit 2934731c7a
6 files changed
+2417 -1564

No files matched your search

+1 -1
View File
@@ -135,7 +135,7 @@ class TunnelTest extends TestCase
protected function createTestHttpServer()
{
$server = new Server(function (ServerRequestInterface $request) {
$server = new Server($this->loop, function (ServerRequestInterface $request) {
return new Response(200, ['Content-Type' => 'text/plain'], 'Hello World!');
});