Skip to content

Commit

Permalink
Set minimum PHP to 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
autowp committed Nov 7, 2019
1 parent bb07a37 commit 7cc09d0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 9 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
language: php
php:
- '7.1'
- '7.2'
- nightly
- '7.3'
matrix:
allow_failures:
- php: nightly
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"minimum-stability": "beta",
"require": {
"php": ">=5.5.0",
"php": "^7.2.0",
"ext-intl": "*",
"ext-json": "*",
"zendframework/zend-session": "*",
Expand Down
2 changes: 1 addition & 1 deletion test/FacebookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion test/GithubTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion test/GooglePlusTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion test/LinkedInTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion test/TwitterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion test/VkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 7cc09d0

Please sign in to comment.