From c43a65fe754a0f9373a8d12202f96a56f25cf2ff Mon Sep 17 00:00:00 2001 From: Ketil Stadskleiv Date: Wed, 12 Oct 2016 16:13:24 +0200 Subject: [PATCH] Minor cleanup in composer json --- composer.json | 4 ++-- src/Auth/Login.php | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 0d99144..a26ada7 100644 --- a/composer.json +++ b/composer.json @@ -29,8 +29,8 @@ "php-http/message": "^1.0" }, "require-dev": { - "phpunit/phpunit": "5.*", - "symfony/cache": "3.*", + "phpunit/phpunit": "^5", + "symfony/cache": "^3", "php-http/guzzle6-adapter": "^1.0", "php-http/mock-client": "^0.3" } diff --git a/src/Auth/Login.php b/src/Auth/Login.php index 93784d3..6204e02 100644 --- a/src/Auth/Login.php +++ b/src/Auth/Login.php @@ -3,7 +3,6 @@ use Psr\Cache\CacheItemPoolInterface; use Http\Client\HttpClient; - use Bokbasen\Auth\Exceptions\BokbasenAuthException; /** @@ -77,8 +76,6 @@ public function __construct($username, $password, CacheItemPoolInterface $tgtCac $this->tgtCache = $tgtCache; $this->setHttpClient($httpClient); - - $this->tgtExpireMinutes = self::DEFAULT_TGT_EXPIRE_TIME_MINUTES; if (! $this->isCachedTGT()) { $this->auth($username, $password);