Skip to content
This repository was archived by the owner on Jan 9, 2024. It is now read-only.

Commit 8a9d965

Browse files
committed
Add Laravel 6 support
1 parent 0c0f923 commit 8a9d965

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ composer.lock
33
docs
44
vendor
55
coverage
6-
.idea
6+
.idea
7+
.phpunit.result.cache

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
],
1818
"require": {
1919
"php": "^7.1",
20-
"illuminate/support": "5.6.*"
20+
"illuminate/support": "5.6.*|5.7.*|5.8.*|^6.0"
2121
},
2222
"require-dev": {
23-
"orchestra/testbench": "^3.6",
24-
"phpunit/phpunit": "^7.0",
25-
"spatie/phpunit-snapshot-assertions": "^1.3"
23+
"orchestra/testbench": "^3.6|^3.7|^3.8|^4.0",
24+
"phpunit/phpunit": "^7.0|^8.0",
25+
"spatie/phpunit-snapshot-assertions": "^1.3|^2.0"
2626
},
2727
"autoload": {
2828
"psr-4": {

resources/views/xray.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div id="xray-bar-controller-path">
33
<span class="xray-bar-btn xray-bar-controller xray-icon-flash">
44
<b></b>
5-
{{ array_get($routeInformation, 'controller', '-')}}
5+
{{ \Illuminate\Support\Arr::get($routeInformation, 'controller', '-')}}
66
</span>
77
<span class="xray-bar-btn xray-bar-layout xray-icon-columns">
88
<b></b>

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ protected function getPackageProviders($app)
1414
];
1515
}
1616

17-
public function setUp()
17+
public function setUp(): void
1818
{
1919
parent::setUp();
2020

0 commit comments

Comments
 (0)