1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 08:32:56 +00:00

Add void types where no return statement is present

This commit is contained in:
Jordi Boggiano 2022-02-18 10:38:54 +01:00
parent 32852304d0
commit abdc6893a6
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
213 changed files with 1129 additions and 1130 deletions

View file

@ -24,7 +24,7 @@ class NoProxyPatternTest extends TestCase
* @param string $url
* @param bool $expected
*/
public function testHostName($noproxy, $url, $expected)
public function testHostName($noproxy, $url, $expected): void
{
$matcher = new NoProxyPattern($noproxy);
$url = $this->getUrl($url);
@ -55,7 +55,7 @@ class NoProxyPatternTest extends TestCase
* @param string $url
* @param bool $expected
*/
public function testIpAddress($noproxy, $url, $expected)
public function testIpAddress($noproxy, $url, $expected): void
{
$matcher = new NoProxyPattern($noproxy);
$url = $this->getUrl($url);
@ -84,7 +84,7 @@ class NoProxyPatternTest extends TestCase
* @param string $url
* @param bool $expected
*/
public function testIpRange($noproxy, $url, $expected)
public function testIpRange($noproxy, $url, $expected): void
{
$matcher = new NoProxyPattern($noproxy);
$url = $this->getUrl($url);
@ -113,7 +113,7 @@ class NoProxyPatternTest extends TestCase
* @param string $url
* @param bool $expected
*/
public function testPort($noproxy, $url, $expected)
public function testPort($noproxy, $url, $expected): void
{
$matcher = new NoProxyPattern($noproxy);
$url = $this->getUrl($url);