Skip to content

Commit c688bca

Browse files
committed
Add support for Laravel 5.7
1 parent a79f986 commit c688bca

File tree

4 files changed

+13
-8
lines changed

4 files changed

+13
-8
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
language: php
22

33
php:
4-
- 5.5.9
54
- 5.6
65
- 7.0
76
- 7.1
@@ -20,4 +19,4 @@ script:
2019
- vendor/bin/phpunit
2120

2221
after_script:
23-
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover
22+
- php vendor/bin/ocular code-coverage:upload --format=php-clover coverage.clover

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-sri` will be documented in this file
44

5+
## 1.1.0 - 2018-09-01
6+
7+
- Add support for Laravel 5.7
8+
59
## 1.0.6 - 2018-08-16
610

711
- Fix compatibility for Laravel 5.6

composer.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@
88
"homepage": "https://github.com/sebdesign/laravel-sri",
99
"type": "library",
1010
"require": {
11-
"laravel/framework": "~5.1.16|~5.2.0|~5.3.0|~5.4.0|~5.5.0|~5.6.0"
11+
"php": "^5.6.4|^7.0",
12+
"laravel/framework": "~5.3.0|~5.4.0|~5.5.0|~5.6.0|~5.7.0"
1213
},
1314
"require-dev": {
14-
"phpunit/phpunit": "~4.0|~5.0|~6.0",
15-
"mockery/mockery": "^0.9.5",
16-
"orchestra/testbench": "^3.2"
15+
"phpunit/phpunit": "~5.4|~6.0|~7.0",
16+
"mockery/mockery": "^0.9|^1.0",
17+
"orchestra/testbench": "~3.3|~3.4|~3.5|~3.6|~3.7"
1718
},
1819
"autoload": {
1920
"files": [
@@ -29,7 +30,8 @@
2930
}
3031
},
3132
"scripts": {
32-
"test": "vendor/bin/phpunit"
33+
"test": "vendor/bin/phpunit",
34+
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
3335
},
3436
"license": "MIT",
3537
"authors": [

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@
2626
<log type="coverage-text" target="build/coverage.txt"/>
2727
<log type="coverage-clover" target="build/logs/clover.xml"/>
2828
</logging>
29-
</phpunit>
29+
</phpunit>

0 commit comments

Comments
 (0)