Skip to content

Commit d5b322a

Browse files
Drop support for PHP <7.2 and Laravel <5.8
1 parent feb3351 commit d5b322a

File tree

4 files changed

+22
-46
lines changed

4 files changed

+22
-46
lines changed

.phpunit.result.cache

Lines changed: 0 additions & 1 deletion
This file was deleted.

.travis.yml

Lines changed: 11 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,17 @@
11
language: php
22

3-
cache:
4-
directories:
5-
- $HOME/.composer/cache
3+
php:
4+
- 7.2
5+
- 7.3
66

7-
matrix:
8-
fast_finish: true
9-
include:
10-
- php: 7.1
11-
env: LARAVEL='5.5.*' TESTBENCH='3.5.*' COMPOSER_FLAGS='--prefer-lowest'
12-
- php: 7.1
13-
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
14-
- php: 7.1
15-
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
16-
- php: 7.1
17-
env: LARAVEL='5.7.*' TESTBENCH='3.7.*'
18-
- php: 7.1
19-
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
20-
- php: 7.2
21-
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
22-
- php: 7.2
23-
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
24-
- php: 7.2
25-
env: LARAVEL='5.7.*' TESTBENCH='3.7.*'
26-
- php: 7.2
27-
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
28-
- php: 7.3
29-
env: LARAVEL='5.5.*' TESTBENCH='3.5.*'
30-
- php: 7.3
31-
env: LARAVEL='5.6.*' TESTBENCH='3.6.*'
32-
- php: 7.3
33-
env: LARAVEL='5.7.*' TESTBENCH='3.7.*'
34-
- php: 7.3
35-
env: LARAVEL='5.8.*' TESTBENCH='3.8.*'
7+
env:
8+
matrix:
9+
- COMPOSER_FLAGS="--prefer-lowest"
10+
- COMPOSER_FLAGS=""
3611

37-
before_install:
38-
- travis_retry composer self-update
39-
- travis_retry composer require --no-update --no-interaction "illuminate/support:${LARAVEL}" "orchestra/testbench:${TESTBENCH}"
40-
41-
install:
42-
- travis_retry composer update --no-interaction --no-plugins --no-suggest --prefer-source ${COMPOSER_FLAGS}
12+
before_script:
13+
- travis_retry composer self-update
14+
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
4315

4416
script:
45-
- vendor/bin/phpunit
17+
- vendor/bin/phpunit --coverage-text

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ All notable changes to `laravel-query-builder` will be documented in this file
88
- removed request macros
99
- started using `QueryBuilderRequest` to read data from the current request
1010

11+
## 1.15.0 - 2019-02-27
12+
13+
- drop support for Laravel 5.7 and lower
14+
- drop support for PHP 7.1 and lower
15+
1116
## 1.14.0 - 2019-02-27
1217

1318
- add aliased sorts (#164)

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@
1616
}
1717
],
1818
"require": {
19-
"php": "^7.1",
20-
"illuminate/database": "~5.5.0|~5.6.0|~5.7.0|~5.8.0",
21-
"illuminate/http": "~5.5.0|~5.6.0|~5.7.0|~5.8.0",
22-
"illuminate/support": "~5.5.0|~5.6.0|~5.7.0|~5.8.0"
19+
"php": "^7.2",
20+
"illuminate/database": "~5.8.0",
21+
"illuminate/http": "~5.8.0",
22+
"illuminate/support": "~5.8.0"
2323
},
2424
"require-dev": {
25-
"phpunit/phpunit": "^6.1|^7.0|^8.0",
26-
"orchestra/testbench": "~3.5.0|~3.6.0|~3.7.0|~3.8.0"
25+
"phpunit/phpunit": "^7.5|^8.0",
26+
"orchestra/testbench": "~3.8.0"
2727
},
2828
"autoload": {
2929
"psr-4": {

0 commit comments

Comments
 (0)