From eb00a7e5571f14b6b83dc2d16c398050f3a8019a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20B=C3=B6sing?= <2189546+boesing@users.noreply.github.com> Date: Tue, 6 Oct 2020 18:55:51 +0200 Subject: [PATCH 1/2] qa: remove cache dependency to avoid circular dependency conflicts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com> --- CHANGELOG.md | 2 +- composer.json | 96 ++++++++++++++++++++++++++------------------------- 2 files changed, 50 insertions(+), 48 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c794be..f772385 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,7 @@ All notable changes to this project will be documented in this file, in reverse ### Removed -- Nothing. +- Remove `laminas/laminas-cache` dependency to avoid circular dependencies. ### Fixed diff --git a/composer.json b/composer.json index 0e9c0ed..962f7f4 100644 --- a/composer.json +++ b/composer.json @@ -1,50 +1,52 @@ { - "name": "laminas/laminas-cache-storage-adapter-redis", - "description": "Laminas cache adapter for redis", - "keywords": [ - "laminas", - "cache" - ], - "license": "BSD-3-Clause", - "require": { - "php": "^5.6 || ^7.0", - "laminas/laminas-cache": "^2.10@dev" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", - "laminas/laminas-coding-standard": "~1.0.0", - "squizlabs/php_codesniffer": "^2.7" - }, - "config": { - "sort-packages": true - }, - "extra": { - }, - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "LaminasTest\\Cache\\Storage\\Adapter\\": "test/unit", - "LaminasTest\\Cache\\Psr\\": "test/integration/Psr" - } - }, - "scripts": { - "cs-check": "phpcs", - "cs-fix": "phpcbf", - "test": "phpunit --colors=always", - "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" - }, - "support": { - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-redis/issues", - "forum": "https://discourse.laminas.dev/", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-redis", - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-redis/", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-redis/releases.atom" + "name": "laminas/laminas-cache-storage-adapter-redis", + "description": "Laminas cache adapter for redis", + "keywords": [ + "laminas", + "cache" + ], + "license": "BSD-3-Clause", + "require": { + "php": "^5.6 || ^7.0" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", + "laminas/laminas-coding-standard": "~1.0.0", + "squizlabs/php_codesniffer": "^2.7", + "laminas/laminas-cache": "^2.10" + }, + "config": { + "sort-packages": true + }, + "extra": {}, + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" } + }, + "autoload-dev": { + "psr-4": { + "LaminasTest\\Cache\\Storage\\Adapter\\": "test/unit", + "LaminasTest\\Cache\\Psr\\": "test/integration/Psr" + } + }, + "scripts": { + "cs-check": "phpcs", + "cs-fix": "phpcbf", + "test": "phpunit --colors=always", + "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" + }, + "support": { + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-redis/issues", + "forum": "https://discourse.laminas.dev/", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-redis", + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-redis/", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-redis/releases.atom" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + } } From 4180b538ee0e5660992249b2717387d6d232426f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20B=C3=B6sing?= <2189546+boesing@users.noreply.github.com> Date: Tue, 6 Oct 2020 18:57:57 +0200 Subject: [PATCH 2/2] qa: normalized \`composer.json\` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com> --- composer.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 962f7f4..9b3849e 100644 --- a/composer.json +++ b/composer.json @@ -9,14 +9,17 @@ "require": { "php": "^5.6 || ^7.0" }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, "provide": { "laminas/laminas-cache-storage-implementation": "1.0" }, "require-dev": { + "laminas/laminas-cache": "^2.10", "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", "laminas/laminas-coding-standard": "~1.0.0", - "squizlabs/php_codesniffer": "^2.7", - "laminas/laminas-cache": "^2.10" + "squizlabs/php_codesniffer": "^2.7" }, "config": { "sort-packages": true @@ -45,8 +48,5 @@ "source": "https://github.com/laminas/laminas-cache-storage-adapter-redis", "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-redis/", "rss": "https://github.com/laminas/laminas-cache-storage-adapter-redis/releases.atom" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" } }