Skip to content

Commit

Permalink
Support Laravel 5.8 ; drop PHP 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Propaganistas committed Feb 25, 2019
1 parent db095f5 commit 1988005
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 13 deletions.
20 changes: 11 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3

cache:
directories:
Expand All @@ -12,22 +12,24 @@ cache:
matrix:
fast_finish: true
include:
- php: 7.0 # Laravel 5.0 requires Mcrypt, but it is deprecated as of PHP 7.1
- php: 7.1
env: ILLUMINATE_VERSION=5.0.* TESTBENCH_VERSION=3.0.* PHPUNIT_VERSION=4.*
- php: 7.2
- php: 7.3
env: ILLUMINATE_VERSION=5.1.* TESTBENCH_VERSION=3.1.* PHPUNIT_VERSION=5.*
- php: 7.2
- php: 7.3
env: ILLUMINATE_VERSION=5.2.* TESTBENCH_VERSION=3.2.* PHPUNIT_VERSION=5.*
- php: 7.2
- php: 7.3
env: ILLUMINATE_VERSION=5.3.* TESTBENCH_VERSION=3.3.* PHPUNIT_VERSION=5.*
- php: 7.2
- php: 7.3
env: ILLUMINATE_VERSION=5.4.* TESTBENCH_VERSION=3.4.* PHPUNIT_VERSION=5.*
- php: 7.2
- php: 7.3
env: ILLUMINATE_VERSION=5.5.* TESTBENCH_VERSION=3.5.* PHPUNIT_VERSION=6.*
- php: 7.2
- php: 7.3
env: ILLUMINATE_VERSION=5.6.* TESTBENCH_VERSION=3.6.* PHPUNIT_VERSION=7.*
- php: 7.2
- php: 7.3
env: ILLUMINATE_VERSION=5.7.* TESTBENCH_VERSION=3.7.* PHPUNIT_VERSION=7.*
- php: 7.3
env: ILLUMINATE_VERSION=5.8.* TESTBENCH_VERSION=3.8.* PHPUNIT_VERSION=8.*

sudo: false

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
}
],
"require": {
"php": ">=7.0",
"illuminate/support": ">=5.0,<5.8",
"illuminate/validation": ">=5.0,<5.8",
"php": ">=7.1",
"illuminate/support": ">=5.0,<5.9",
"illuminate/validation": ">=5.0,<5.9",
"giggsey/libphonenumber-for-php": "^7.0|^8.0",
"league/iso3166": "^2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion tests/PhoneValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class PhoneValidatorTest extends TestCase
{
protected $validator;

public function setUp()
public function setUp(): void
{
parent::setUp();

Expand Down

0 comments on commit 1988005

Please sign in to comment.