Skip to content

Commit

Permalink
feature #25 support Symfony 5.1+, drop support for < 4.4 (xabbuh)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.x branch.

Discussion
----------

support Symfony 5.1+, drop support for < 4.4

Commits
-------

362c231 support Symfony 5.1+, drop support for < 4.4
  • Loading branch information
xabbuh committed Nov 12, 2020
2 parents 6e9f98c + 362c231 commit 7f2a350
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
13 changes: 7 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sudo: false

cache:
directories:
- $HOME/.composer/cache/files
Expand All @@ -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
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
-----

Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -39,7 +39,7 @@
},
"extra": {
"branch-alias": {
"1.x-dev": "1.4.x-dev"
"1.x-dev": "1.5.x-dev"
}
}
}

0 comments on commit 7f2a350

Please sign in to comment.