From 5539c14b12557fa241fd2960d2345878fdace9a4 Mon Sep 17 00:00:00 2001 From: Javier Spagnoletti Date: Fri, 15 Mar 2019 12:12:47 -0300 Subject: [PATCH] Use semver for PHP version at `composer.json`, added support for PHP 7.3 at Travis --- .travis.yml | 2 ++ composer.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 8743350a..c12f16d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,7 @@ matrix: env: SYMFONY_VERSION="4.1.*" - php: 7.2 env: SYMFONY_VERSION="4.2.*" SYMFONY_DEPRECATIONS_HELPER="weak" STABILITY="dev" + - php: 7.3 - php: nightly allow_failures: - php: hhvm @@ -47,6 +48,7 @@ env: before_install: - phpenv config-rm xdebug.ini || true - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi; + - php -i | grep -i --color=never "Redis Version" - if [[ $TRAVIS_PHP_VERSION != hhvm ]]; then phpenv rehash; fi; - composer self-update - if ! [ -z "$STABILITY" ]; then composer config minimum-stability ${STABILITY}; fi; diff --git a/composer.json b/composer.json index 2177d753..42c302e3 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "homepage": "https://github.com/snc/SncRedisBundle/contributors" }], "require": { - "php": ">=5.3.3", + "php": "^5.3.3 || ^7.0", "symfony/framework-bundle": "^2.7 || ^3.0 || ^4.0", "symfony/yaml": "^2.7 || ^3.0 || ^4.0" },