diff --git a/.travis.yml b/.travis.yml index 172b520..7d05484 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,3 @@ -sudo: false - cache: directories: - $HOME/.composer/cache/files @@ -16,15 +14,18 @@ matrix: include: - php: 7.1 env: COMPOSER_OPTIONS="--prefer-lowest --prefer-stable" - - php: 7.1 - env: SYMFONY_VERSION="3.4.x" - php: 7.2 + - php: 7.2 + env: SYMFONY_REQUIRE="4.4.*" - php: 7.3 - env: COVERAGE=yes COMPOSER_OPTIONS="" SYMFONY_PHPUNIT_VERSION=7.5 + env: COVERAGE=yes SYMFONY_PHPUNIT_VERSION=7.5 + - php: 7.4 + - php: 8.0snapshot + env: COMPOSER_OPTIONS="" before_install: - if [ "$COVERAGE" != "yes" ]; then phpenv config-rm xdebug.ini; fi - - if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/symfony:"$SYMFONY_VERSION"; fi + - composer global require --no-progress --no-scripts --no-plugins symfony/flex install: - composer update $COMPOSER_OPTIONS diff --git a/CHANGELOG.md b/CHANGELOG.md index 189b8c0..742a519 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ CHANGELOG ========= +1.5.0 +----- + +* added support for Symfony 5.1+ +* dropped support for Symfony <4.4 +* added support for PHP 8 + 1.4.0 ----- diff --git a/composer.json b/composer.json index d2d2dba..b811f98 100644 --- a/composer.json +++ b/composer.json @@ -12,19 +12,19 @@ } ], "require": { - "php": "^7.1", + "php": "^7.1|^8.0", "php-http/client-implementation": "^1.0", "php-http/discovery": "^1.2.1", "php-http/httplug": "^1.1 || ^2.0", "php-http/message": "^1.5", - "symfony/http-foundation": "~3.4|~4.3", - "symfony/serializer": "~3.4|~4.3" + "symfony/http-foundation": "^4.4|^5.1", + "symfony/serializer": "^4.4|^5.1" }, "require-dev": { "guzzle/guzzle": "~3.7", "guzzlehttp/psr7": "^1.4", "php-http/mock-client": "^1.0", - "symfony/phpunit-bridge": "^3.4.19 || ^4.1.8" + "symfony/phpunit-bridge": "^5.1" }, "minimum-stability": "dev", "autoload": { @@ -39,7 +39,7 @@ }, "extra": { "branch-alias": { - "1.x-dev": "1.4.x-dev" + "1.x-dev": "1.5.x-dev" } } }