Skip to content

Commit

Permalink
Make Sylius passing again
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Apr 13, 2018
1 parent 4f7c1df commit d6c3520
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/TestAppKernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,11 @@ protected function cleanupContainer(ContainerInterface $container): void

$services = $containerServicesPropertyReflection->getValue($container) ?: [];
foreach ($services as $serviceId => $service) {
if (in_array($serviceId, $this->getServicesToIgnoreDuringContainerCleanup())) {
if (null === $service) {
continue;
}

if (in_array($serviceId, $this->getServicesToIgnoreDuringContainerCleanup(), true)) {
continue;
}

Expand Down

0 comments on commit d6c3520

Please sign in to comment.