Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Commit

Permalink
fixed a regression
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 10, 2019
1 parent 02d272b commit 8120a0a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DependencyInjection/SensioFrameworkExtraExtension.php
Expand Up @@ -15,7 +15,6 @@
use Sensio\Bundle\FrameworkExtraBundle\Request\ParamConverter\ParamConverterInterface;
use Symfony\Component\DependencyInjection\Alias;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\Component\DependencyInjection\Exception\LogicException;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\Config\FileLocator;
Expand Down Expand Up @@ -150,7 +149,7 @@ public function load(array $configs, ContainerBuilder $container)
$loader->load('psr7.xml');

if (!interface_exists(StreamFactoryInterface::class)) {
throw new LogicException('PSR-7 support cannot be enabled as the required dependencies are not installed. Try running "composer require nyholm/psr7".');
$definitionsToRemove[] = 'sensio_framework_extra.psr7.argument_value_resolver.server_request';
}
}

Expand Down

0 comments on commit 8120a0a

Please sign in to comment.