Skip to content

Commit

Permalink
Merge pull request #7 from boite/master
Browse files Browse the repository at this point in the history
v2.0 - Create Streams using Guzzle's HttpFactory
  • Loading branch information
joostfaassen authored Mar 10, 2023
2 parents 30c3e70 + baf56c4 commit 3c66435
Show file tree
Hide file tree
Showing 18 changed files with 171 additions and 488 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
.env
composer.lock
vendor/
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@
}
],
"require-dev": {
"symfony/dotenv": "^3.3"
"symfony/dotenv": "^5.4 || ^6.0"
},
"require": {
"guzzlehttp/guzzle": "^4.0|^5.0|^6.0|^7.0"
"php": ">=7.2.5",
"guzzlehttp/guzzle": "^7.0",
"guzzlehttp/psr7": "^2.4",
"psr/http-message": "^1.0"
},
"autoload": {
"psr-4": {
Expand Down
354 changes: 0 additions & 354 deletions composer.lock

This file was deleted.

1 change: 0 additions & 1 deletion src/Exception/AuthenticationFailureException.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace Hub\Client\Exception;

use Exception;

use Psr\Http\Message\ResponseInterface;

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/ResponseException.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ abstract class ResponseException extends Exception
{
protected $code;
protected $message;

public function __construct($code, $message)
{
$this->code = $code;
Expand Down
Loading

0 comments on commit 3c66435

Please sign in to comment.