N°2651 rollback gitignore for lib tests dirs

Too dangerous ! We'll work properly on this but for 2.8
This commit is contained in:
Pierre Goiffon
2020-01-10 15:15:15 +01:00
parent 881fc2a1de
commit ad821e7d9c
2086 changed files with 151849 additions and 6 deletions

View File

@@ -0,0 +1,18 @@
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\TestBundle\TestBundle;
return [
new FrameworkBundle(),
new TestBundle(),
];

View File

@@ -0,0 +1,14 @@
imports:
- { resource: ../config/default.yml }
framework:
cache:
pools:
cache.pool1:
public: true
adapter: cache.system
cache.pool2:
public: true
adapter: cache.pool3
cache.pool3:
clearer: ~

View File

@@ -0,0 +1,17 @@
imports:
- { resource: ../config/default.yml }
parameters:
env(REDIS_HOST): 'localhost'
framework:
cache:
app: cache.adapter.redis
default_redis_provider: "redis://%env(REDIS_HOST)%"
pools:
cache.pool1:
public: true
clearer: cache.system_clearer
cache.pool2:
public: true
clearer: ~

View File

@@ -0,0 +1,28 @@
imports:
- { resource: ../config/default.yml }
parameters:
env(REDIS_HOST): 'localhost'
services:
cache.test_redis_connection:
public: false
class: Redis
calls:
- [connect, ['%env(REDIS_HOST)%']]
cache.app:
parent: cache.adapter.redis
tags:
- name: cache.pool
provider: cache.test_redis_connection
framework:
cache:
pools:
cache.pool1:
public: true
clearer: cache.system_clearer
cache.pool2:
public: true
clearer: ~