Skip to content

Commit

Permalink
update dependencies for Laravel 7 (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobBennett authored Mar 26, 2020
1 parent eed4f34 commit 0e4705a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions .phpunit.result.cache
Original file line number Diff line number Diff line change
@@ -0,0 +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;}}}
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4

env:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
}
],
"require": {
"php" : "^7.0",
"php" : "^7.2",
"illuminate/support": "~6.0|~7.0",
"illuminate/http": "~6.0|~7.0",
"symfony/dom-crawler": "^2.7|^3.0|^4.0|^5.0",
"symfony/css-selector": "^2.7|^3.0|^4.0|^5.0"
},
"require-dev": {
"phpunit/phpunit" : "^4.0|^5.0",
"phpunit/phpunit": "^8.5",
"scrutinizer/ocular": "^1.1"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
Expand Down
5 changes: 3 additions & 2 deletions tests/AddHttp2ServerPushTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
use Illuminate\Support\Str;
use JacobBennett\Http2ServerPush\Middleware\AddHttp2ServerPush;
use Symfony\Component\HttpFoundation\Response;
use PHPUnit\Framework\TestCase;

class AddHttp2ServerPushTest extends \PHPUnit_Framework_TestCase
class AddHttp2ServerPushTest extends TestCase
{

public function setUp()
public function setUp() : void
{
$this->middleware = new AddHttp2ServerPush();
}
Expand Down

0 comments on commit 0e4705a

Please sign in to comment.