mirror of
https://github.com/composer/composer
synced 2025-05-09 00:22:53 +00:00
Fix CS (#11003)
This commit is contained in:
parent
6e205a0c84
commit
131da999ac
357 changed files with 5943 additions and 9174 deletions
|
@ -20,9 +20,9 @@ class HtmlOutputFormatterTest extends TestCase
|
|||
{
|
||||
public function testFormatting(): void
|
||||
{
|
||||
$formatter = new HtmlOutputFormatter(array(
|
||||
$formatter = new HtmlOutputFormatter([
|
||||
'warning' => new OutputFormatterStyle('black', 'yellow'),
|
||||
));
|
||||
]);
|
||||
|
||||
$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>',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue