Skip to content

Commit

Permalink
minor #41607 [FrameworkBundle] sync logic to determine the default va…
Browse files Browse the repository at this point in the history
…lue (xabbuh)

This PR was merged into the 5.3 branch.

Discussion
----------

[FrameworkBundle] sync logic to determine the default value

| Q             | A
| ------------- | ---
| Branch?       | 5.3
| Bug fix?      | no
| New feature?  | no
| Deprecations? | no
| Tickets       |
| License       | MIT
| Doc PR        |

Commits
-------

622fa2d sync logic to determine the default value
  • Loading branch information
nicolas-grekas committed Jun 8, 2021
2 parents 09ef709 + 622fa2d commit cc51438
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -17,6 +17,7 @@
use Symfony\Bundle\FullStack;
use Symfony\Component\Config\Definition\Exception\InvalidConfigurationException;
use Symfony\Component\Config\Definition\Processor;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpClient\HttpClient;
use Symfony\Component\Lock\Store\SemaphoreStore;
use Symfony\Component\Mailer\Mailer;
Expand Down Expand Up @@ -496,7 +497,7 @@ protected static function getBundleDefaultConfig()
'directory' => '%kernel.cache_dir%/pools',
'default_redis_provider' => 'redis://localhost',
'default_memcached_provider' => 'memcached://localhost',
'default_pdo_provider' => class_exists(Connection::class) ? 'database_connection' : null,
'default_pdo_provider' => ContainerBuilder::willBeAvailable('doctrine/dbal', Connection::class, ['symfony/framework-bundle']) ? 'database_connection' : null,
'prefix_seed' => '_%kernel.project_dir%.%kernel.container_class%',
],
'workflows' => [
Expand Down

0 comments on commit cc51438

Please sign in to comment.