From dc75097755a1532ef1a73cd60adbed4513fd62be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20B=C3=B6sing?= <2189546+boesing@users.noreply.github.com> Date: Sat, 24 Oct 2020 18:01:57 +0200 Subject: [PATCH] Upgrade to latest `laminas/laminas-coding-standard` version 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 ++++++++-- phpcs.xml | 6 +----- test/UserRepository/PdoDatabaseFactoryTest.php | 1 + 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index bf658f4..41f9398 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "webmozart/assert": "^1.9" }, "require-dev": { - "laminas/laminas-coding-standard": "^2.1", + "laminas/laminas-coding-standard": "dev-fix/generics as 2.1.1", "phpspec/prophecy-phpunit": "^2.0", "phpspec/prophecy": "^1.12", "phpunit/phpunit": "^9.3", @@ -77,5 +77,11 @@ }, "replace": { "zendframework/zend-expressive-authentication": "^1.1.0" - } + }, + "repositories": [ + { + "type": "git", + "url": "git@github.com:geerteltink/laminas-coding-standard.git" + } + ] } diff --git a/phpcs.xml b/phpcs.xml index 08274e4..c825df4 100644 --- a/phpcs.xml +++ b/phpcs.xml @@ -17,9 +17,5 @@ test - - - - - + diff --git a/test/UserRepository/PdoDatabaseFactoryTest.php b/test/UserRepository/PdoDatabaseFactoryTest.php index 29eaa82..6c7003c 100644 --- a/test/UserRepository/PdoDatabaseFactoryTest.php +++ b/test/UserRepository/PdoDatabaseFactoryTest.php @@ -132,6 +132,7 @@ public function getPdoInvalidConfig(): array } /** + * @param array $pdoConfig * @dataProvider getPdoInvalidConfig */ public function testInvokeWithInvalidConfig(array $pdoConfig): void