Skip to content

Commit 979d32e

Browse files
committed
Remove support for old versions of Laravel and PHP.
1 parent 853a4c7 commit 979d32e

File tree

3 files changed

+14
-28
lines changed

3 files changed

+14
-28
lines changed

.travis.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,24 @@
11
language: php
22

33
php:
4-
- 5.5
5-
- 5.6
64
- 7.0
75
- 7.1
86
- 7.2
9-
- 7.3
107

118
matrix:
129
allow_failures:
13-
- php: 5.5 # Laravel >= 5.3 doesn't support PHP 5.5
14-
- php: 5.6 # Laravel >= 5.5 doesn't support PHP 5.6
15-
- php: 7.0 # Laravel <= 5.3 doesn't support PHP 7.0
16-
- php: 7.1 # Laravel <= 5.3 doesn't support PHP 7.1
17-
- php: 7.2 # Laravel <= 5.3 doesn't support PHP 7.2
18-
- php: 7.3 # Laravel <= 5.5 doesn't support PHP 7.3
10+
- php: 7.0 # Laravel >= 5.6 doesn't support PHP 7.0
1911

2012
sudo: false
2113

2214
env:
23-
- LARAVEL_VERSION="~5.1.0" TESTBENCH_VERSION="~3.1.0"
24-
- LARAVEL_VERSION="~5.2.0" TESTBENCH_VERSION="~3.2.0"
25-
- LARAVEL_VERSION="~5.3.0" TESTBENCH_VERSION="~3.3.0"
26-
- LARAVEL_VERSION="~5.4.0" TESTBENCH_VERSION="~3.4.0"
2715
- LARAVEL_VERSION="~5.5.0" TESTBENCH_VERSION="~3.5.0"
2816
- LARAVEL_VERSION="~5.6.0" TESTBENCH_VERSION="~3.6.0"
2917
- LARAVEL_VERSION="~5.7.0" TESTBENCH_VERSION="~3.7.0"
3018

3119
before_install:
32-
- sed -i s/~5.1.0\|\|~5.2.0\|\|~5.3.0\|\|~5.4.0\|\|~5.5.0\|\|~5.6.0\|\|~5.7.0/${LARAVEL_VERSION}/ composer.json
33-
- sed -i s/~3.1.0\|\|~3.2.0\|\|~3.3.0\|\|~3.4.0\|\|~3.5.0\|\|~3.6.0\|\|~3.7.0/${TESTBENCH_VERSION}/ composer.json
20+
- sed -i s/~5.5.0\|\|~5.6.0\|\|~5.7.0/${LARAVEL_VERSION}/ composer.json
21+
- sed -i s/~3.5.0\|\|~3.6.0\|\|~3.7.0/${TESTBENCH_VERSION}/ composer.json
3422
- composer update # Use update since we'll be changing the composer.json
3523

3624
script: vendor/bin/phpunit tests

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# jquery-laravel [![Build Status](https://travis-ci.org/efficiently/jquery-laravel.png?branch=2.4)](http://travis-ci.org/efficiently/jquery-laravel)
22

3-
jQuery! For Laravel 5.1, 5.2, 5.3, 5.4, 5.5, 5.6 and 5.7! So great.
3+
jQuery! For Laravel 5.5, 5.6 and 5.7! So great.
44

55
This package provides:
66

@@ -18,6 +18,8 @@ minor version bump = minor-level updates to jQuery
1818
major version bump = major-level updates to jQuery and updates to Laravel/Larasset which may be backwards-incompatible
1919
```
2020

21+
For [Laravel 5.1, 5.2, 5.3 or 5.4](http://laravel.com/docs/5.4) supports see [jQuery-Laravel **2.3 branch**](https://github.com/efficiently/jquery-laravel/tree/2.3)
22+
2123
For [Laravel 5.1 or 5.2](http://laravel.com/docs/5.2) supports see [jQuery-Laravel **2.1 branch**](https://github.com/efficiently/jquery-laravel/tree/2.1)
2224

2325
For [Laravel 5.0](http://laravel.com/docs/5.0) supports see [jQuery-Laravel **2.0 branch**](https://github.com/efficiently/jquery-laravel/tree/2.0)

composer.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,9 @@
11
{
22
"name": "efficiently/jquery-laravel",
3-
"description": "This package provides jQuery and the jQuery-ujs driver for your Laravel >= 5.1 application.",
3+
"description": "This package provides jQuery and the jQuery-ujs driver for your Laravel >= 5.5 application.",
44
"keywords": [
55
"jquery",
66
"laravel",
7-
"laravel 5.1",
8-
"laravel 5.2",
9-
"laravel 5.3",
10-
"laravel 5.4",
117
"laravel 5.5",
128
"laravel 5.6",
139
"laravel 5.7",
@@ -28,15 +24,15 @@
2824
}
2925
],
3026
"require": {
31-
"php": ">=5.5.0",
32-
"illuminate/support": "~5.1.0||~5.2.0||~5.3.0||~5.4.0||~5.5.0||~5.6.0||~5.7.0",
33-
"laravelcollective/html": "~5.1.0||~5.2.0||~5.3.0||~5.4.0||~5.5.0||~5.6.0||~5.7.0"
27+
"php": ">=7.0.0",
28+
"illuminate/support": "~5.5.0||~5.6.0||~5.7.0",
29+
"laravelcollective/html": "~5.5.0||~5.6.0||~5.7.0"
3430
},
3531
"require-dev": {
36-
"phpunit/phpunit": "~4.5||~5.7||~6.0||~7.0",
37-
"mockery/mockery": "~0.9.0||~1.0",
38-
"orchestra/testbench": "~3.1.0||~3.2.0||~3.3.0||~3.4.0||~3.5.0||~3.6.0||~3.7.0",
39-
"anahkiasen/former": "~4.0.0||~4.1.0"
32+
"phpunit/phpunit": "~6.0||~7.0",
33+
"mockery/mockery": "~1.0",
34+
"orchestra/testbench": "~3.5.0||~3.6.0||~3.7.0",
35+
"anahkiasen/former": "~4.1.0"
4036
},
4137
"autoload": {
4238
"files": [

0 commit comments

Comments
 (0)