Skip to content

Commit

Permalink
Merge pull request #18 from DraperStudio/master
Browse files Browse the repository at this point in the history
Require PHP 5.5 and Guzzle 6
  • Loading branch information
AndyWendt committed Jun 18, 2015
2 parents a9640be + d3dc5ca commit a6f9ba3
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 32 deletions.
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ sudo: false
language: php

php:
- 5.4
- 5.5
- 5.6
- hhvm
- hhvm-nightly

cache:
directories:
Expand Down
47 changes: 23 additions & 24 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
{
"name": "socialiteproviders/manager",
"description": "Easily add new or override built-in providers in Laravel Socialite.",
"require": {
"php": ">=5.4.0",
"laravel/framework": "~5.0",
"laravel/socialite": "~2.0"
},
"require-dev": {
"phpunit/phpunit": "4.5.*",
"mockery/mockery": "0.9.*"
},
"license": "MIT",
"authors": [
{
"name": "Andy Wendt",
"email": "andy@awendt.com"
}
],
"minimum-stability": "stable",
"autoload": {
"psr-4": {
"SocialiteProviders\\Manager\\": "src/"
}
}
"name": "socialiteproviders/manager",
"description": "Easily add new or override built-in providers in Laravel Socialite.",
"license": "MIT",
"authors": [{
"name": "Andy Wendt",
"email": "andy@awendt.com"
}],
"require": {
"php": ">=5.5.0",
"laravel/framework": "~5.0",
"laravel/socialite": "~2.0",
"guzzlehttp/guzzle": "~6.0"
},
"require-dev": {
"phpunit/phpunit": "4.5.*",
"mockery/mockery": "0.9.*"
},
"autoload": {
"psr-4": {
"SocialiteProviders\\Manager\\": "src/"
}
},
"minimum-stability": "stable"
}
4 changes: 2 additions & 2 deletions src/SocialiteWasCalled.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ function () use ($provider) {
/**
* @param SocialiteManager $socialite
* @param $providerName
* @param string $providerClass
* @param null|string $oauth1Server
* @param string $providerClass
* @param null|string $oauth1Server
*
* @return \Laravel\Socialite\One\AbstractProvider|\Laravel\Socialite\Two\AbstractProvider
*/
Expand Down
8 changes: 4 additions & 4 deletions tests/ManagerTestTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ protected function expectManagerInvalidArgumentException()
protected function config()
{
return [
'client_id' => 'test',
'client_id' => 'test',
'client_secret' => 'test',
'redirect' => 'test',
'redirect' => 'test',
];
}

Expand All @@ -31,8 +31,8 @@ protected function config()
protected function oauth1FormattedConfig(array $config)
{
return [
'identifier' => $config['client_id'],
'secret' => $config['client_secret'],
'identifier' => $config['client_id'],
'secret' => $config['client_secret'],
'callback_uri' => $config['redirect'],
];
}
Expand Down

0 comments on commit a6f9ba3

Please sign in to comment.