From a74a544a01873ec805c59080a0eb4a1c3505821d Mon Sep 17 00:00:00 2001 From: SonataCI Date: Wed, 9 Jan 2019 02:07:35 +0100 Subject: [PATCH] DevKit updates --- .php_cs.dist | 6 ++++++ .travis.yml | 6 ++---- tests/bootstrap.php | 2 ++ 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.php_cs.dist b/.php_cs.dist index 3873ae58..658e2c8b 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -36,6 +36,12 @@ $rules = [ '@PHP56Migration' => true, '@PHP56Migration:risky' => true, '@PHPUnit57Migration:risky' => true, + '@PHP70Migration' => true, + '@PHP70Migration:risky' => true, + '@PHPUnit60Migration:risky' => true, + '@PHP71Migration' => true, + '@PHP71Migration:risky' => true, + 'compact_nullable_typehint' => true, // To be tested before insertion: // 'strict_comparison' => true, // 'strict_param' => true, diff --git a/.travis.yml b/.travis.yml index b2ee6311..0a328831 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,8 +10,6 @@ branches: language: php php: - - '5.6' - - '7.0' - '7.1' - '7.2' - '7.3' @@ -36,7 +34,7 @@ env: - SYMFONY_DEPRECATIONS_HELPER=weak_vendors - TARGET=test - UPSTREAM_URL=https://github.com/sonata-project/SonataNotificationBundle.git - - PHPUNIT_VERSION=5.7.26 + - PHPUNIT_VERSION=7 matrix: fast_finish: true @@ -45,7 +43,7 @@ matrix: env: TARGET=docs - php: '7.3' env: TARGET=lint - - php: '5.6' + - php: '7.1' env: COMPOSER_FLAGS="--prefer-lowest" - php: '7.3' env: SYMFONY=3.4.* diff --git a/tests/bootstrap.php b/tests/bootstrap.php index f31b24fe..2f104d78 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -1,5 +1,7 @@