Skip to content

Commit bfa41c5

Browse files
Merge pull request #18 from unicodeveloper/support-laravel55
Add Support for Laravel 5.5
2 parents 703b40a + 53906f4 commit bfa41c5

File tree

3 files changed

+17
-7
lines changed

3 files changed

+17
-7
lines changed

composer.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
],
1212
"minimum-stability": "stable",
1313
"require": {
14-
"php": ">=5.6.4",
15-
"illuminate/support": "~5.3.0|~5.4.0",
14+
"php": ">=7.0.0",
15+
"illuminate/support": "~5.3.0|~5.4.0|~5.5.0",
1616
"sinergi/browser-detector": "6.1.*"
1717
},
1818
"require-dev": {
19-
"phpunit/phpunit": "5.3.*",
19+
"phpunit/phpunit": "~6.0.0",
2020
"mockery/mockery": "0.9.*",
2121
"scrutinizer/ocular": "~1.1",
2222
"satooshi/php-coveralls": "^0.7.0"
@@ -33,5 +33,15 @@
3333
},
3434
"scripts": {
3535
"test": "vendor/bin/phpunit"
36+
},
37+
"extra": {
38+
"laravel": {
39+
"providers": [
40+
"Unicodeveloper\\Identify\\IdentifyServiceProvider"
41+
],
42+
"aliases": {
43+
"Identify": "Unicodeveloper\\Identify\\Facade"
44+
}
45+
}
3646
}
3747
}

tests/IdentifyServiceProviderTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
namespace Unicodeveloper\Identify\Test;
44

55
use Mockery as m;
6-
use PHPUnit_Framework_TestCase;
6+
use PHPUnit\Framework\TestCase;
77
use Unicodeveloper\Identify\{ Identify, IdentifyServiceProvider };
88

9-
class IdentifyServiceProviderTest extends PHPUnit_Framework_TestCase
9+
class IdentifyServiceProviderTest extends TestCase
1010
{
1111

1212
/**

tests/IdentifyTest.php

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

33
namespace Unicodeveloper\Identify\Test;
44

5-
use PHPUnit_Framework_TestCase;
5+
use PHPUnit\Framework\TestCase;
66
use Sinergi\BrowserDetector\{ Browser, Device, Language, Os };
77
use Unicodeveloper\Identify\Identify;
88

9-
class IdentifyTest extends PHPUnit_Framework_TestCase
9+
class IdentifyTest extends TestCase
1010
{
1111

1212
/**

0 commit comments

Comments
 (0)