From fa28d400e897033b7db317d1eaa45297863f005f Mon Sep 17 00:00:00 2001 From: Christer Edvartsen Date: Mon, 3 Jul 2023 20:37:57 +0200 Subject: [PATCH] Bump coding standard version and fix issues --- composer.lock | 14 +++++++------- .../Initializer/ApiClientAwareInitializer.php | 1 - tests/Context/ApiContextTest.php | 1 - 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/composer.lock b/composer.lock index fc3a9ce..7ffe13d 100644 --- a/composer.lock +++ b/composer.lock @@ -3156,20 +3156,20 @@ }, { "name": "imbo/imbo-coding-standard", - "version": "v2.0.5", + "version": "v2.1.0", "source": { "type": "git", "url": "https://github.com/imbo/imbo-coding-standard.git", - "reference": "03c905451f4b1c33abb6dd9476173ed43b816ce7" + "reference": "99ef0adbd6a3b75c7247a1841a7704fe78f82ccd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/imbo/imbo-coding-standard/zipball/03c905451f4b1c33abb6dd9476173ed43b816ce7", - "reference": "03c905451f4b1c33abb6dd9476173ed43b816ce7", + "url": "https://api.github.com/repos/imbo/imbo-coding-standard/zipball/99ef0adbd6a3b75c7247a1841a7704fe78f82ccd", + "reference": "99ef0adbd6a3b75c7247a1841a7704fe78f82ccd", "shasum": "" }, "require": { - "php": ">=7.4" + "php": ">=8.1" }, "require-dev": { "friendsofphp/php-cs-fixer": "^3.0" @@ -3202,9 +3202,9 @@ ], "support": { "issues": "https://github.com/imbo/imbo-coding-standard/issues", - "source": "https://github.com/imbo/imbo-coding-standard/tree/v2.0.5" + "source": "https://github.com/imbo/imbo-coding-standard/tree/v2.1.0" }, - "time": "2022-05-07T07:24:53+00:00" + "time": "2023-07-03T18:31:21+00:00" }, { "name": "myclabs/deep-copy", diff --git a/src/Context/Initializer/ApiClientAwareInitializer.php b/src/Context/Initializer/ApiClientAwareInitializer.php index b6435b5..ae4137a 100644 --- a/src/Context/Initializer/ApiClientAwareInitializer.php +++ b/src/Context/Initializer/ApiClientAwareInitializer.php @@ -3,7 +3,6 @@ use Behat\Behat\Context\Context; use Behat\Behat\Context\Initializer\ContextInitializer; -use GuzzleHttp\Client; use Imbo\BehatApiExtension\Context\ApiClientAwareContext; /** diff --git a/tests/Context/ApiContextTest.php b/tests/Context/ApiContextTest.php index 1ec45d2..a7d94e2 100644 --- a/tests/Context/ApiContextTest.php +++ b/tests/Context/ApiContextTest.php @@ -3,7 +3,6 @@ use Behat\Gherkin\Node\PyStringNode; use Behat\Gherkin\Node\TableNode; -use GuzzleHttp\Client; use GuzzleHttp\Exception\RequestException; use GuzzleHttp\Handler\MockHandler; use GuzzleHttp\HandlerStack;