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:
parent
b6c1afaa47
commit
0db443ba5f
51 changed files with 163 additions and 147 deletions
|
@ -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']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue