Skip to content

Commit 0656930

Browse files
committed
Merge branch 'release/8.0.0'
2 parents ea181f0 + ce9e51c commit 0656930

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# CHANGE LOG
2+
3+
# 8.0.0
4+
* Updated dependencies for PHP 8 compatibility
5+
* Min requirement reverted to PHP 7.3 as per Laravel

composer.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@
2525
}
2626
],
2727
"require": {
28-
"php": "^7.1",
28+
"php": "^7.3|^8.0",
2929
"ext-json": "*"
3030
},
3131
"require-dev": {
32-
"orchestra/testbench": "~3.6.0",
33-
"phpunit/phpunit": "^7.3",
34-
"mockery/mockery": "^1.2"
32+
"laravel/framework": "^8.0",
33+
"mockery/mockery": "^1.2",
34+
"orchestra/testbench": "^6.0",
35+
"phpunit/phpunit": "^9.0"
3536
},
3637
"autoload": {
3738
"psr-4": {
@@ -45,5 +46,9 @@
4546
"psr-4": {
4647
"Tests\\": "tests/"
4748
}
49+
},
50+
"scripts": {
51+
"test": "vendor/bin/phpunit",
52+
"test-coverage": "vendor/bin/phpunit --coverage-html coverage"
4853
}
4954
}

tests/BuilderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
namespace Tests;
44

5-
use Illuminate\Foundation\Testing\TestResponse;
5+
use Illuminate\Testing\TestResponse;
66

77
class BuilderTest extends TestCase
88
{
@@ -50,4 +50,4 @@ public function testAddingMultipleHeaderToResponse()
5050
$response->assertHeader('hello');
5151
$response->assertHeaderMissing('invalid header');
5252
}
53-
}
53+
}

0 commit comments

Comments
 (0)