Skip to content

Commit

Permalink
Added support for PHP 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
orkhanahmadov committed Feb 12, 2020
1 parent dffa3b6 commit 4a0facc
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
preset: laravel

disabled:
- single_class_element_per_statement
preset: psr12
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,21 @@ env:
matrix:
fast_finish: true
include:
- php: 7.1
env: LARAVEL_VERSION=5.8.* TESTBENCH_VERSION=3.8.* PHPUNIT_VERSION=~7.0
- php: 7.2
env: LARAVEL_VERSION=5.8.* TESTBENCH_VERSION=3.8.* PHPUNIT_VERSION=~7.0
- php: 7.2
env: LARAVEL_VERSION=~6.0 TESTBENCH_VERSION=~4.0 PHPUNIT_VERSION=~8.0

- php: 7.3
env: LARAVEL_VERSION=5.8.* TESTBENCH_VERSION=3.8.* PHPUNIT_VERSION=~7.0
- php: 7.3
env: LARAVEL_VERSION=~6.0 TESTBENCH_VERSION=~4.0 PHPUNIT_VERSION=~8.0

- php: 7.4
env: LARAVEL_VERSION=5.8.* TESTBENCH_VERSION=3.8.* PHPUNIT_VERSION=~7.0
- php: 7.4
env: LARAVEL_VERSION=~6.0 TESTBENCH_VERSION=~4.0 PHPUNIT_VERSION=~8.0

before_install:
- travis_retry composer self-update
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to `laravel-ip-middleware` will be documented in this file

## 1.3.0 - 2020-02-12

- Added support for PHP 7.4
- Dropped support for PHP 7.1
- PSR-12 code-style applied

## 1.2.0 - 2019-09-19

- "Predefined lists" configuration added
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": "^7.1",
"php": "^7.2",
"illuminate/container": "5.8.*|^6.0",
"illuminate/contracts": "5.8.*|^6.0",
"illuminate/http": "5.8.*|^6.0",
Expand Down

0 comments on commit 4a0facc

Please sign in to comment.