Skip to content

Commit f15537a

Browse files
committed
cs fixes
1 parent 4002cc6 commit f15537a

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

tests/Unit/DependencyInjection/ConfigurationTest.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
use Symfony\Component\Config\Definition\ConfigurationInterface;
1414
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
1515
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
16-
use Symfony\Component\HttpKernel\Kernel;
17-
use function class_exists;
16+
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
1817

1918
/**
2019
* @author David Buchmann <mail@davidbu.ch>
@@ -117,7 +116,7 @@ protected function getConfiguration(): ConfigurationInterface
117116

118117
public function testSupportsAllConfigFormats(): void
119118
{
120-
if (!class_exists(Client::class)) {
119+
if (!\class_exists(Client::class)) {
121120
$this->markTestSkipped('Guzzle 7 adapter is not installed');
122121
}
123122

@@ -330,7 +329,7 @@ public function testSupportsAllConfigFormats(): void
330329
];
331330

332331
// XML configuration is not supported in Symfony 8+
333-
if (class_exists('Symfony\Component\DependencyInjection\Loader\XmlFileLoader')) {
332+
if (\class_exists(XmlFileLoader::class)) {
334333
$formats[] = 'config/full.xml';
335334
}
336335

0 commit comments

Comments
 (0)