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

Commit

Permalink
bug #614 Fix a regression (fabpot)
Browse files Browse the repository at this point in the history
This PR was merged into the 5.3.x-dev branch.

Discussion
----------

Fix a regression

introduced in #608, closes #613. The code is from #549 to fix #406

Commits
-------

8120a0a fixed a regression
  • Loading branch information
fabpot committed Apr 10, 2019
2 parents 02d272b + 8120a0a commit 5f75c46
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 5f75c46

Please sign in to comment.