Skip to content

Commit 19def32

Browse files
Add support for laravel 5.8.*
1 parent 4f3d675 commit 19def32

File tree

6 files changed

+17
-15
lines changed

6 files changed

+17
-15
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
To install this package you will need:
1313

14-
- Laravel >= 5.6
14+
- Laravel >= 5.7
1515
- PHP 7.2+
1616

1717

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
],
2222
"require": {
2323
"php": ">=7.2",
24-
"illuminate/support": "5.6.*|5.7.*",
24+
"illuminate/support": "~5.7.0|~5.8.0",
2525
"guzzlehttp/guzzle": "~6.0"
2626
},
2727
"autoload": {
@@ -30,7 +30,7 @@
3030
}
3131
},
3232
"require-dev": {
33-
"orchestra/testbench": "~3.7",
33+
"orchestra/testbench": "~3.8",
3434
"phpunit/phpunit": "~7.0"
3535
},
3636
"autoload-dev": {

phpunit.xml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phpunit backupGlobals="false"
3-
backupStaticAttributes="false"
4-
bootstrap="vendor/autoload.php"
5-
colors="true"
6-
convertErrorsToExceptions="true"
7-
convertNoticesToExceptions="true"
8-
convertWarningsToExceptions="true"
9-
processIsolation="false"
10-
stopOnFailure="false"
11-
syntaxCheck="false">
3+
backupStaticAttributes="false"
4+
bootstrap="vendor/autoload.php"
5+
colors="true"
6+
convertErrorsToExceptions="true"
7+
convertNoticesToExceptions="true"
8+
convertWarningsToExceptions="true"
9+
processIsolation="false"
10+
stopOnError="false"
11+
stopOnFailure="false"
12+
verbose="true"
13+
>
1214

1315
<testsuites>
1416
<testsuite name="Linkstreet\LaravelSms Test Suite">

tests/Adapters/KapAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class KapAdapterTest extends TestCase
1818
/**
1919
* {@inheritdoc}
2020
*/
21-
protected function setUp()
21+
protected function setUp(): void
2222
{
2323
parent::setUp();
2424

tests/Adapters/TwilioAdapterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class TwilioAdapterTest extends TestCase
1818
/**
1919
* {@inheritdoc}
2020
*/
21-
protected function setUp()
21+
protected function setUp(): void
2222
{
2323
parent::setUp();
2424

tests/SmsManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class SmsManagerTest extends TestCase
1414
/**
1515
* {@inheritdoc}
1616
*/
17-
public function setUp()
17+
public function setUp(): void
1818
{
1919
parent::setUp();
2020
$this->config = config('sms');

0 commit comments

Comments
 (0)