test
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Sergio Álvarez 2022-01-11 15:37:32 +01:00
parent 28e0d22aee
commit 2e93a246e2
No known key found for this signature in database
GPG Key ID: 622780889DFDBDA5
3 changed files with 3 additions and 1 deletions

View File

@ -7,6 +7,7 @@
"php": ">=8.0.2", "php": ">=8.0.2",
"ext-ctype": "*", "ext-ctype": "*",
"ext-iconv": "*", "ext-iconv": "*",
"ext-redis": "*",
"doctrine/annotations": "^1.13", "doctrine/annotations": "^1.13",
"phpdocumentor/reflection-docblock": "^5.3", "phpdocumentor/reflection-docblock": "^5.3",
"phpstan/phpdoc-parser": "^1.2", "phpstan/phpdoc-parser": "^1.2",

View File

@ -27,7 +27,6 @@ services:
Redis: Redis:
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes # you can also use \RedisArray, \RedisCluster or \Predis\Client classes
class: \Redis class: \Redis
public: true
calls: calls:
- connect: - connect:
- '%env(REDIS_HOST)%' - '%env(REDIS_HOST)%'

View File

@ -3,6 +3,8 @@
declare(strict_types=1); declare(strict_types=1);
use App\Kernel; use App\Kernel;
use Redis;
$r = new Redis();
require_once dirname(__DIR__).'/vendor/autoload_runtime.php'; require_once dirname(__DIR__).'/vendor/autoload_runtime.php';