Skip to content

Commit 467c950

Browse files
Merge branch '6.2' into 6.3
* 6.2: CS fix
2 parents 101ee84 + 2a15e11 commit 467c950

File tree

2 files changed

+2
-9
lines changed

2 files changed

+2
-9
lines changed

Console/Descriptor/XmlDescriptor.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,8 @@ private function getContainerServicesDocument(ContainerBuilder $container, strin
293293
continue;
294294
}
295295

296-
if ($service instanceof Definition) {
297-
if ($service->hasTag('container.excluded')) {
298-
continue;
299-
}
296+
if ($service instanceof Definition && $service->hasTag('container.excluded')) {
297+
continue;
300298
}
301299

302300
$serviceXML = $this->getContainerServiceDocument($service, $serviceId, null, $showArguments);

Tests/Fixtures/ContainerExcluded.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
<?php
22

3-
declare(strict_types=1);
4-
53
namespace Symfony\Bundle\FrameworkBundle\Tests\Fixtures;
64

7-
/**
8-
* @author Maksim Vorozhtsov <[email protected]>
9-
*/
105
class ContainerExcluded
116
{
127
}

0 commit comments

Comments
 (0)