From 7d067c7b441a77d8be03e575c66e2d86f400b38e Mon Sep 17 00:00:00 2001 From: Quynh Nguyen Date: Tue, 2 Jul 2024 08:23:52 +0700 Subject: [PATCH 1/2] Update composer.json files to provide PSR implementations --- composer.json | 1 + src/Illuminate/Cache/composer.json | 3 ++- src/Illuminate/Log/composer.json | 6 +++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index ad1ddeff5906..5d7007c59a92 100644 --- a/composer.json +++ b/composer.json @@ -122,6 +122,7 @@ }, "provide": { "psr/container-implementation": "1.1|2.0", + "psr/log-implementation": "1.0|2.0|3.0", "psr/simple-cache-implementation": "1.0|2.0|3.0" }, "autoload": { diff --git a/src/Illuminate/Cache/composer.json b/src/Illuminate/Cache/composer.json index ec0d26e18469..cc00d726c470 100755 --- a/src/Illuminate/Cache/composer.json +++ b/src/Illuminate/Cache/composer.json @@ -18,7 +18,8 @@ "illuminate/collections": "^11.0", "illuminate/contracts": "^11.0", "illuminate/macroable": "^11.0", - "illuminate/support": "^11.0" + "illuminate/support": "^11.0", + "psr/simple-cache": "^1.0|^2.0|^3.0" }, "provide": { "psr/simple-cache-implementation": "1.0|2.0|3.0" diff --git a/src/Illuminate/Log/composer.json b/src/Illuminate/Log/composer.json index dfdcf13a4e7c..4bb196fd58a3 100755 --- a/src/Illuminate/Log/composer.json +++ b/src/Illuminate/Log/composer.json @@ -17,7 +17,11 @@ "php": "^8.2", "illuminate/contracts": "^11.0", "illuminate/support": "^11.0", - "monolog/monolog": "^3.0" + "monolog/monolog": "^3.0", + "psr/log": "^1.0|^2.0|^3.0" + }, + "provide": { + "psr/log-implementation": "1.0|2.0|3.0" }, "autoload": { "psr-4": { From 6abf34a7c40d419bed770270e9d9d10d75024aae Mon Sep 17 00:00:00 2001 From: Quynh Nguyen Date: Tue, 2 Jul 2024 14:20:48 +0700 Subject: [PATCH 2/2] Restore Illuminate/Cache/composer.json file --- src/Illuminate/Cache/composer.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Illuminate/Cache/composer.json b/src/Illuminate/Cache/composer.json index cc00d726c470..ec0d26e18469 100755 --- a/src/Illuminate/Cache/composer.json +++ b/src/Illuminate/Cache/composer.json @@ -18,8 +18,7 @@ "illuminate/collections": "^11.0", "illuminate/contracts": "^11.0", "illuminate/macroable": "^11.0", - "illuminate/support": "^11.0", - "psr/simple-cache": "^1.0|^2.0|^3.0" + "illuminate/support": "^11.0" }, "provide": { "psr/simple-cache-implementation": "1.0|2.0|3.0"