diff --git a/.travis.yml b/.travis.yml index 0a1c1cb..6f74f9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,12 +1,12 @@ language: php -php: +php: - 5.3 - 5.4 - 5.5 before_script: - - curl -s http://getcomposer.org/installer | php - - php composer.phar install --dev + - composer self-update + - composer install --no-interaction --prefer-source --dev -script: phpunit \ No newline at end of file +script: phpunit diff --git a/README.md b/README.md index f477d3a..0f61dc9 100644 --- a/README.md +++ b/README.md @@ -96,4 +96,4 @@ There we go, done! Enjoy yourselves. ## Known Bugs ## -Reminders don't currently work. \ No newline at end of file +Reminders don't currently work. diff --git a/composer.json b/composer.json index fbb3024..7ad4f8f 100644 --- a/composer.json +++ b/composer.json @@ -18,4 +18,4 @@ } }, "minimum-stability": "dev" -} \ No newline at end of file +} diff --git a/phpunit.xml b/phpunit.xml index e89ac6d..3347b75 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -15,4 +15,4 @@ ./tests/ - \ No newline at end of file + diff --git a/src/Ollieread/Multiauth/AuthManager.php b/src/Ollieread/Multiauth/AuthManager.php index 567cfd7..5bc5cec 100644 --- a/src/Ollieread/Multiauth/AuthManager.php +++ b/src/Ollieread/Multiauth/AuthManager.php @@ -58,8 +58,13 @@ protected function createEloquentProvider() { return new EloquentUserProvider($this->app['hash'], $model); } - protected function getDefaultDriver() { + public function getDefaultDriver() { return $this->config['driver']; } - -} \ No newline at end of file + + public function setDefaultDriver($name) + { + $this->config['driver'] = $name; + } + +} diff --git a/src/Ollieread/Multiauth/Guard.php b/src/Ollieread/Multiauth/Guard.php index 8ad2d9d..9932542 100644 --- a/src/Ollieread/Multiauth/Guard.php +++ b/src/Ollieread/Multiauth/Guard.php @@ -22,4 +22,4 @@ public function getRecallerName() { return 'remember_' . $this->name . '_' . md5(get_class($this)); } -} \ No newline at end of file +} diff --git a/src/Ollieread/Multiauth/MultiManager.php b/src/Ollieread/Multiauth/MultiManager.php index 2fd60b5..b3271a9 100644 --- a/src/Ollieread/Multiauth/MultiManager.php +++ b/src/Ollieread/Multiauth/MultiManager.php @@ -23,4 +23,4 @@ public function __call($name, $arguments) { } } -} \ No newline at end of file +} diff --git a/src/Ollieread/Multiauth/MultiauthServiceProvider.php b/src/Ollieread/Multiauth/MultiauthServiceProvider.php index a817866..ee13f4d 100644 --- a/src/Ollieread/Multiauth/MultiauthServiceProvider.php +++ b/src/Ollieread/Multiauth/MultiauthServiceProvider.php @@ -14,4 +14,4 @@ public function register() { }); } -} \ No newline at end of file +}