diff --git a/composer.json b/composer.json index bf658f4..227e410 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,12 @@ }, "replace": { "zendframework/zend-expressive-authentication": "^1.1.0" - } + }, + "repositories": [ + { + "type": "git", + "url": "git@github.com:geerteltink/laminas-coding-standard.git", + "no-api": true + } + ] } 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