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:
parent
32852304d0
commit
abdc6893a6
213 changed files with 1129 additions and 1130 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue