From 2e93a246e2e4d4c6a3e64ef84e91a1dafc42a8e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20=C3=81lvarez?= Date: Tue, 11 Jan 2022 15:37:32 +0100 Subject: [PATCH] test --- backend/composer.json | 1 + backend/config/services.yaml | 1 - backend/public/index.php | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/composer.json b/backend/composer.json index 8d7aec2..82b8a22 100644 --- a/backend/composer.json +++ b/backend/composer.json @@ -7,6 +7,7 @@ "php": ">=8.0.2", "ext-ctype": "*", "ext-iconv": "*", + "ext-redis": "*", "doctrine/annotations": "^1.13", "phpdocumentor/reflection-docblock": "^5.3", "phpstan/phpdoc-parser": "^1.2", diff --git a/backend/config/services.yaml b/backend/config/services.yaml index effa412..92b4062 100644 --- a/backend/config/services.yaml +++ b/backend/config/services.yaml @@ -27,7 +27,6 @@ services: Redis: # you can also use \RedisArray, \RedisCluster or \Predis\Client classes class: \Redis - public: true calls: - connect: - '%env(REDIS_HOST)%' diff --git a/backend/public/index.php b/backend/public/index.php index 508a169..707599f 100644 --- a/backend/public/index.php +++ b/backend/public/index.php @@ -3,6 +3,8 @@ declare(strict_types=1); use App\Kernel; +use Redis; +$r = new Redis(); require_once dirname(__DIR__).'/vendor/autoload_runtime.php';