diff --git a/composer.json b/composer.json index 6df873c..c6f11b8 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,8 @@ "require": { "php": "^7.3.0", "jms/serializer": "^1.0|^3.0", - "guzzlehttp/guzzle": "^6.3|^7.0" + "guzzlehttp/guzzle": "^6.3|^7.0", + "doctrine/annotations": "^1.7" }, "require-dev": { "phpunit/phpunit": "^9.0", diff --git a/composer.lock b/composer.lock index 4f878bf..538d17c 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "8354832a7700cba33d8dcda196a8b5be", + "content-hash": "1f742b311d5e9e2aa82f4646db678690", "packages": [ { "name": "doctrine/annotations", @@ -531,16 +531,16 @@ }, { "name": "jms/serializer", - "version": "3.9.0", + "version": "3.10.0", "source": { "type": "git", "url": "https://github.com/schmittjoh/serializer.git", - "reference": "4fe470c179ae8da9e243dd8fac6c0fc2302d9378" + "reference": "0ed0b6aa79cc029772286f2dc262f6933674b0ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/4fe470c179ae8da9e243dd8fac6c0fc2302d9378", - "reference": "4fe470c179ae8da9e243dd8fac6c0fc2302d9378", + "url": "https://api.github.com/repos/schmittjoh/serializer/zipball/0ed0b6aa79cc029772286f2dc262f6933674b0ec", + "reference": "0ed0b6aa79cc029772286f2dc262f6933674b0ec", "shasum": "" }, "require": { @@ -551,7 +551,7 @@ "php": "^7.2" }, "require-dev": { - "doctrine/coding-standard": "^5.0", + "doctrine/coding-standard": "^8.1", "doctrine/orm": "~2.1", "doctrine/persistence": "^1.3.3|^2.0|^3.0", "doctrine/phpcr-odm": "^1.3|^2.0", @@ -577,7 +577,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.9-dev" + "dev-master": "3.10-dev" } }, "autoload": { @@ -610,7 +610,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/serializer/issues", - "source": "https://github.com/schmittjoh/serializer/tree/master" + "source": "https://github.com/schmittjoh/serializer/tree/3.10.0" }, "funding": [ { @@ -618,7 +618,7 @@ "type": "github" } ], - "time": "2020-08-26T07:23:26+00:00" + "time": "2020-10-29T20:24:00+00:00" }, { "name": "psr/http-client", @@ -1283,23 +1283,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.2", + "version": "9.2.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "229099d7d69fe5044f6e464f669b1fd34f252e8d" + "reference": "6b20e2055f7c29b56cb3870b3de7cc463d7add41" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/229099d7d69fe5044f6e464f669b1fd34f252e8d", - "reference": "229099d7d69fe5044f6e464f669b1fd34f252e8d", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6b20e2055f7c29b56cb3870b3de7cc463d7add41", + "reference": "6b20e2055f7c29b56cb3870b3de7cc463d7add41", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.8", + "nikic/php-parser": "^4.10.2", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -1348,7 +1348,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.2" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.3" }, "funding": [ { @@ -1356,7 +1356,7 @@ "type": "github" } ], - "time": "2020-10-28T06:24:13+00:00" + "time": "2020-10-30T10:46:41+00:00" }, { "name": "phpunit/php-file-iterator", diff --git a/lib/Wsc/Request/Request.php b/lib/Wsc/Request/Request.php index ed463f2..e22449b 100644 --- a/lib/Wsc/Request/Request.php +++ b/lib/Wsc/Request/Request.php @@ -169,7 +169,7 @@ public function execute(): ResponseInterface if ($e instanceof ClientException) { $response = $e->getResponse(); } else { - throw new HttpRequestException($e->getMessage()); + throw $e; } } diff --git a/phpunit.xml b/phpunit.xml index 94c6658..df8e425 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,13 +1,13 @@ - - - - ./tests - - - - - ./tests - - - \ No newline at end of file + + + + ./tests + + + + + ./tests + + +