From 7cc09d049c36e1d1dc9de5b03e154b41e1c94ab3 Mon Sep 17 00:00:00 2001 From: Dmitry P Date: Thu, 7 Nov 2019 23:28:29 +0300 Subject: [PATCH] Set minimum PHP to 7.2 --- .travis.yml | 3 +-- composer.json | 2 +- test/FacebookTest.php | 2 +- test/GithubTest.php | 2 +- test/GooglePlusTest.php | 2 +- test/LinkedInTest.php | 2 +- test/TwitterTest.php | 2 +- test/VkTest.php | 2 +- 8 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9eddc2d..a4c292d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,7 @@ language: php php: - - '7.1' - '7.2' - - nightly + - '7.3' matrix: allow_failures: - php: nightly diff --git a/composer.json b/composer.json index 259461b..2b0b9fe 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ ], "minimum-stability": "beta", "require": { - "php": ">=5.5.0", + "php": "^7.2.0", "ext-intl": "*", "ext-json": "*", "zendframework/zend-session": "*", diff --git a/test/FacebookTest.php b/test/FacebookTest.php index 335fae1..c5ff01f 100644 --- a/test/FacebookTest.php +++ b/test/FacebookTest.php @@ -13,7 +13,7 @@ class FacebookTest extends AbstractHttpControllerTestCase { protected $appConfigPath = __DIR__ . '/_files/config/application.config.php'; - protected function setUp() + protected function setUp(): void { if (! $this->appConfigPath) { throw new \Exception("Application config path not provided"); diff --git a/test/GithubTest.php b/test/GithubTest.php index b251867..0673a7f 100644 --- a/test/GithubTest.php +++ b/test/GithubTest.php @@ -13,7 +13,7 @@ class GithubTest extends AbstractHttpControllerTestCase { protected $appConfigPath = __DIR__ . '/_files/config/application.config.php'; - protected function setUp() + protected function setUp(): void { if (! $this->appConfigPath) { throw new \Exception("Application config path not provided"); diff --git a/test/GooglePlusTest.php b/test/GooglePlusTest.php index e52c3be..123155b 100644 --- a/test/GooglePlusTest.php +++ b/test/GooglePlusTest.php @@ -13,7 +13,7 @@ class GooglePlusTest extends AbstractHttpControllerTestCase { protected $appConfigPath = __DIR__ . '/_files/config/application.config.php'; - protected function setUp() + protected function setUp(): void { if (! $this->appConfigPath) { throw new \Exception("Application config path not provided"); diff --git a/test/LinkedInTest.php b/test/LinkedInTest.php index ee00af0..45c9a72 100644 --- a/test/LinkedInTest.php +++ b/test/LinkedInTest.php @@ -13,7 +13,7 @@ class LinkedInTest extends AbstractHttpControllerTestCase { protected $appConfigPath = __DIR__ . '/_files/config/application.config.php'; - protected function setUp() + protected function setUp(): void { if (! $this->appConfigPath) { throw new \Exception("Application config path not provided"); diff --git a/test/TwitterTest.php b/test/TwitterTest.php index 25e39ad..1b17f5c 100644 --- a/test/TwitterTest.php +++ b/test/TwitterTest.php @@ -13,7 +13,7 @@ class TwitterTest extends AbstractHttpControllerTestCase { protected $appConfigPath = __DIR__ . '/_files/config/application.config.php'; - protected function setUp() + protected function setUp(): void { if (! $this->appConfigPath) { throw new \Exception("Application config path not provided"); diff --git a/test/VkTest.php b/test/VkTest.php index c50aa2c..db13ad8 100644 --- a/test/VkTest.php +++ b/test/VkTest.php @@ -14,7 +14,7 @@ class VkTest extends AbstractHttpControllerTestCase { protected $appConfigPath = __DIR__ . '/_files/config/application.config.php'; - protected function setUp() + protected function setUp(): void { if (! $this->appConfigPath) { throw new \Exception("Application config path not provided");