mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +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
|
@ -79,7 +79,7 @@ class VersionTest extends TestCase
|
|||
* @param bool $fipsExpected
|
||||
* @param string|null $normalizedVersion
|
||||
*/
|
||||
public function testParseOpensslVersions($input, $parsedVersion, $fipsExpected = false, $normalizedVersion = null)
|
||||
public function testParseOpensslVersions($input, $parsedVersion, $fipsExpected = false, $normalizedVersion = null): void
|
||||
{
|
||||
self::assertSame($parsedVersion, Version::parseOpenssl($input, $isFips));
|
||||
self::assertSame($fipsExpected, $isFips);
|
||||
|
@ -104,7 +104,7 @@ class VersionTest extends TestCase
|
|||
* @param string $input
|
||||
* @param string $parsedVersion
|
||||
*/
|
||||
public function testParseLibjpegVersion($input, $parsedVersion)
|
||||
public function testParseLibjpegVersion($input, $parsedVersion): void
|
||||
{
|
||||
self::assertSame($parsedVersion, Version::parseLibjpeg($input));
|
||||
}
|
||||
|
@ -124,7 +124,7 @@ class VersionTest extends TestCase
|
|||
* @param string $input
|
||||
* @param string $parsedVersion
|
||||
*/
|
||||
public function testParseZoneinfoVersion($input, $parsedVersion)
|
||||
public function testParseZoneinfoVersion($input, $parsedVersion): void
|
||||
{
|
||||
self::assertSame($parsedVersion, Version::parseZoneinfoVersion($input));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue