From ab7f42b3ac3649e40b851ab7966e86d4ebb82140 Mon Sep 17 00:00:00 2001 From: Stephan Vierkant Date: Wed, 5 Dec 2018 16:44:40 +0100 Subject: [PATCH 1/2] Drop PHP < 7.1 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 47f05e07..ba09f919 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "issues": "https://github.com/stwe/DatatablesBundle/issues" }, "require": { - "php": ">=5.5.9", + "php": ">=7.1", "symfony/framework-bundle": "^3.0|^4.0", "doctrine/orm": "^2.5", "symfony/options-resolver": "^3.0|^4.0", From 21810577c80a90f57c2d82b23f179cd37b58d487 Mon Sep 17 00:00:00 2001 From: Stephan Vierkant Date: Wed, 5 Dec 2018 16:53:43 +0100 Subject: [PATCH 2/2] Update .travis.yml --- .travis.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 33d33df9..15ea59f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,6 @@ cache: matrix: fast_finish: true include: - - php: 5.5 - - php: 5.6 - - php: 7.0 - php: 7.1 env: DEPENDENCIES=beta - php: hhvm @@ -26,8 +23,7 @@ before_install: - if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi; - if [ "$SYMFONY_VERSION" != "" ]; then composer require --dev --no-update symfony/framework-bundle=$SYMFONY_VERSION; fi - if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi; - - if [[ ${TRAVIS_PHP_VERSION:0:2} == "5." ]]; then composer require --dev "phpunit/phpunit=4.8.*"; fi - - if [[ ${TRAVIS_PHP_VERSION:0:2} == "7." || ${TRAVIS_PHP_VERSION:0:2} == "hh" ]]; then composer require --dev "phpunit/phpunit=5.7.*"; fi + - composer require --dev "phpunit/phpunit=5.7.*" install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS