File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
tests/Unit/DependencyInjection Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 1313use Symfony \Component \Config \Definition \ConfigurationInterface ;
1414use Symfony \Component \Config \Definition \Exception \InvalidConfigurationException ;
1515use 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
You can’t perform that action at this time.
0 commit comments