Skip to content

Commit 0e4705a

Browse files
authored
update dependencies for Laravel 7 (#42)
1 parent eed4f34 commit 0e4705a

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.phpunit.result.cache

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
C:37:"PHPUnit\Runner\DefaultTestResultCache":1559:{a:2:{s:7:"defects";a:0:{}s:5:"times";a:13:{s:87:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_not_exceed_size_limit";d:0.038;s:88:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_not_add_excluded_asset";d:0.001;s:114:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_not_modify_a_response_with_no_server_push_assets";d:0.001;s:98:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_return_a_css_link_header_for_css";d:0.001;s:96:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_return_a_js_link_header_for_js";d:0;s:104:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_return_an_image_link_header_for_images";d:0.001;s:109:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_return_an_image_link_header_for_svg_objects";d:0.001;s:96:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_returns_well_formatted_link_headers";d:0.001;s:113:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_return_correct_push_headers_for_multiple_assets";d:0.001;s:104:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_not_return_a_push_header_for_inline_js";d:0.001;s:100:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_not_return_a_push_header_for_icons";d:0.001;s:93:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_return_limit_count_of_links";d:0.001;s:101:"JacobBennett\Http2ServerPush\Test\AddHttp2ServerPushTest::it_will_append_to_header_if_already_present";d:0.001;}}}

.travis.yml

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

33
php:
4-
- 7.0
5-
- 7.1
64
- 7.2
75
- 7.3
6+
- 7.4
87

98
env:
109
matrix:

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
}
1818
],
1919
"require": {
20-
"php" : "^7.0",
20+
"php" : "^7.2",
2121
"illuminate/support": "~6.0|~7.0",
2222
"illuminate/http": "~6.0|~7.0",
2323
"symfony/dom-crawler": "^2.7|^3.0|^4.0|^5.0",
2424
"symfony/css-selector": "^2.7|^3.0|^4.0|^5.0"
2525
},
2626
"require-dev": {
27-
"phpunit/phpunit" : "^4.0|^5.0",
27+
"phpunit/phpunit": "^8.5",
2828
"scrutinizer/ocular": "^1.1"
2929
},
3030
"autoload": {

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<logging>
2323
<log type="tap" target="build/report.tap"/>
2424
<log type="junit" target="build/report.junit.xml"/>
25-
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
25+
<log type="coverage-html" target="build/coverage"/>
2626
<log type="coverage-text" target="build/coverage.txt"/>
2727
<log type="coverage-clover" target="build/logs/clover.xml"/>
2828
</logging>

tests/AddHttp2ServerPushTest.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@
66
use Illuminate\Support\Str;
77
use JacobBennett\Http2ServerPush\Middleware\AddHttp2ServerPush;
88
use Symfony\Component\HttpFoundation\Response;
9+
use PHPUnit\Framework\TestCase;
910

10-
class AddHttp2ServerPushTest extends \PHPUnit_Framework_TestCase
11+
class AddHttp2ServerPushTest extends TestCase
1112
{
1213

13-
public function setUp()
14+
public function setUp() : void
1415
{
1516
$this->middleware = new AddHttp2ServerPush();
1617
}

0 commit comments

Comments
 (0)