Skip to content

Commit

Permalink
Add support for laravel 5.8.*
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshgurusamy committed Mar 20, 2019
1 parent 4f3d675 commit 19def32
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

To install this package you will need:

- Laravel >= 5.6
- Laravel >= 5.7
- PHP 7.2+


Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"require": {
"php": ">=7.2",
"illuminate/support": "5.6.*|5.7.*",
"illuminate/support": "~5.7.0|~5.8.0",
"guzzlehttp/guzzle": "~6.0"
},
"autoload": {
Expand All @@ -30,7 +30,7 @@
}
},
"require-dev": {
"orchestra/testbench": "~3.7",
"orchestra/testbench": "~3.8",
"phpunit/phpunit": "~7.0"
},
"autoload-dev": {
Expand Down
20 changes: 11 additions & 9 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false">
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
>

<testsuites>
<testsuite name="Linkstreet\LaravelSms Test Suite">
Expand Down
2 changes: 1 addition & 1 deletion tests/Adapters/KapAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class KapAdapterTest extends TestCase
/**
* {@inheritdoc}
*/
protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/Adapters/TwilioAdapterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class TwilioAdapterTest extends TestCase
/**
* {@inheritdoc}
*/
protected function setUp()
protected function setUp(): void
{
parent::setUp();

Expand Down
2 changes: 1 addition & 1 deletion tests/SmsManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class SmsManagerTest extends TestCase
/**
* {@inheritdoc}
*/
public function setUp()
public function setUp(): void
{
parent::setUp();
$this->config = config('sms');
Expand Down

0 comments on commit 19def32

Please sign in to comment.