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

PHPStan fixes

This commit is contained in:
Jordi Boggiano 2020-02-07 23:10:10 +01:00
parent fbba175874
commit 589abb06a3
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
4 changed files with 11 additions and 5 deletions

View file

@ -24,7 +24,7 @@ class HtmlOutputFormatterTest extends TestCase
'warning' => new OutputFormatterStyle('black', 'yellow'),
));
return $this->assertEquals(
$this->assertEquals(
'text <span style="color:green;">green</span> <span style="color:yellow;">yellow</span> <span style="color:black;background-color:yellow;">black w/ yello bg</span>',
$formatter->format('text <info>green</info> <comment>yellow</comment> <warning>black w/ yello bg</warning>')
);