public function testAuthorityOmitsPortForStandardSchemePortCombinations($scheme, $port) { $uri = (new Uri())->withHost('example.com')->withScheme($scheme)->withPort($port); $this->assertEquals('example.com', $uri->getAuthority()); }