Skip to content

Commit

Permalink
Update base package version
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenmaguire committed Jan 26, 2017
1 parent 28cc794 commit 068e3f0
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 6 deletions.
13 changes: 10 additions & 3 deletions .travis.yml
@@ -1,11 +1,18 @@
language: php

sudo: false

php:
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm

matrix:
include:
- php: 5.6
env: 'COMPOSER_FLAGS="--prefer-stable --prefer-lowest"'

before_script:
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-source --dev
Expand All @@ -16,5 +23,5 @@ script:
- ./vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover

after_script:
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then wget https://scrutinizer-ci.com/ocular.phar; fi
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ] && [ "$TRAVIS_PHP_VERSION" != "7.0" ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
21 changes: 21 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,27 @@
# Changelog
All Notable changes to `oauth2-foursquare` will be documented in this file

## 2.0.0 - 2017-01-25

### Added
- PHP 7.1 Support

### Deprecated
- Nothing

### Fixed
- Nothing

### Removed
- PHP 5.5 Support

### Security
- Nothing

## 1.0.0 - 2017-01-25

Bump for base package parity

## 0.1.0 - 2015-09-25

### Added
Expand Down
3 changes: 1 addition & 2 deletions composer.json
Expand Up @@ -18,8 +18,7 @@
"foursquare"
],
"require": {
"php": ">=5.5.0",
"league/oauth2-client": "~1.0"
"league/oauth2-client": "^2.0"
},
"require-dev": {
"phpunit/phpunit": "~4.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Provider/Foursquare.php
Expand Up @@ -77,7 +77,7 @@ protected function checkResponse(ResponseInterface $response, $data)
*
* @param object $response
* @param AccessToken $token
* @return League\OAuth2\Client\Provider\ResourceOwnerInterface
* @return FoursquareResourceOwner
*/
protected function createResourceOwner(array $response, AccessToken $token)
{
Expand Down

0 comments on commit 068e3f0

Please sign in to comment.