Skip to content

Commit e31f47c

Browse files
Remove a few unnecessary full qualifier
1 parent c8b5404 commit e31f47c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Tests/Helper/TableCellStyleTest.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
namespace Symfony\Component\Console\Tests\Helper;
1313

1414
use PHPUnit\Framework\TestCase;
15+
use Symfony\Component\Console\Exception\InvalidArgumentException;
1516
use Symfony\Component\Console\Helper\TableCellStyle;
1617

1718
class TableCellStyleTest extends TestCase
@@ -21,7 +22,8 @@ public function testCreateTableCellStyle()
2122
$tableCellStyle = new TableCellStyle(['fg' => 'red']);
2223
$this->assertEquals('red', $tableCellStyle->getOptions()['fg']);
2324

24-
$this->expectException(\Symfony\Component\Console\Exception\InvalidArgumentException::class);
25+
$this->expectException(InvalidArgumentException::class);
26+
2527
new TableCellStyle(['wrong_key' => null]);
2628
}
2729
}

0 commit comments

Comments
 (0)