1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Add visibility to all consts, fixes #10550

This commit is contained in:
Jordi Boggiano 2022-02-23 14:09:49 +01:00
parent b6c1afaa47
commit 0db443ba5f
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
51 changed files with 163 additions and 147 deletions

View file

@ -66,7 +66,8 @@ class InitCommandTest extends TestCase
public function testParseValidAlias1AuthorString(): void
{
$command = new InitCommand;
$author = $this->callParseAuthorString($command,
$author = $this->callParseAuthorString(
$command,
'Johnathon "Johnny" Smith <john@example.com>'
);
$this->assertEquals('Johnathon "Johnny" Smith', $author['name']);
@ -80,7 +81,8 @@ class InitCommandTest extends TestCase
public function testParseValidAlias2AuthorString(): void
{
$command = new InitCommand;
$author = $this->callParseAuthorString($command,
$author = $this->callParseAuthorString(
$command,
'Johnathon (Johnny) Smith <john@example.com>'
);
$this->assertEquals('Johnathon (Johnny) Smith', $author['name']);