diff --git a/.styleci.yml b/.styleci.yml index f4d3cbc..ac8d606 100755 --- a/.styleci.yml +++ b/.styleci.yml @@ -1,4 +1 @@ -preset: laravel - -disabled: - - single_class_element_per_statement +preset: psr12 diff --git a/.travis.yml b/.travis.yml index eb83311..bceacdf 100755 --- a/.travis.yml +++ b/.travis.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ecc0d7..3e694a8 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/composer.json b/composer.json index d3b2b3e..0b75dce 100755 --- a/composer.json +++ b/composer.json @@ -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",