Skip to content

Commit 7d71734

Browse files
Support only Laravel 9.x & PHP 8.1
1 parent a9f7e66 commit 7d71734

File tree

3 files changed

+25
-30
lines changed

3 files changed

+25
-30
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212
To install this package you will need:
1313

14-
- Laravel 7.x & 8.x
15-
- PHP 7.4+
14+
- Laravel 9.x
15+
- PHP 8.1+
1616

1717
Run this command to install via composer
1818

@@ -24,7 +24,7 @@ or edit the `composer.json`
2424

2525
```
2626
"require": {
27-
"linkstreet/laravel-sms": "^5.1"
27+
"linkstreet/laravel-sms": "^5.2"
2828
}
2929
```
3030

composer.json

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,25 +13,21 @@
1313
{
1414
"name": "Meyyappan Velayutham",
1515
"email": "[email protected]"
16-
},
17-
{
18-
"name": "Cerlin Selvamony",
19-
"email": "[email protected]"
2016
}
2117
],
2218
"require": {
23-
"php": ">=7.4",
24-
"illuminate/support": "^7.0|^8.0",
25-
"guzzlehttp/guzzle": "^6.0|^7.0"
19+
"php": "^8.1",
20+
"illuminate/support": "^9.0",
21+
"guzzlehttp/guzzle": "^7.0"
2622
},
2723
"autoload": {
2824
"psr-4": {
2925
"Linkstreet\\LaravelSms\\": "src"
3026
}
3127
},
3228
"require-dev": {
33-
"orchestra/testbench": "^5.0|^6.0",
34-
"phpunit/phpunit": "^8.0|^9.0"
29+
"orchestra/testbench": "^7.0",
30+
"phpunit/phpunit": "^9.0"
3531
},
3632
"autoload-dev": {
3733
"psr-4": {

phpunit.xml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit backupGlobals="false"
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
backupGlobals="false"
34
backupStaticAttributes="false"
45
bootstrap="vendor/autoload.php"
56
colors="true"
@@ -10,20 +11,18 @@
1011
stopOnError="false"
1112
stopOnFailure="false"
1213
verbose="true"
13-
>
14-
15-
<testsuites>
16-
<testsuite name="Linkstreet\LaravelSms Test Suite">
17-
<directory suffix="Test.php">./tests/</directory>
18-
</testsuite>
19-
</testsuites>
20-
<php>
21-
<env name="APP_ENV" value="testing"/>
22-
</php>
23-
24-
<filter>
25-
<whitelist addUncoveredFilesFromWhitelist="false">
26-
<directory suffix=".php">src/</directory>
27-
</whitelist>
28-
</filter>
29-
</phpunit>
14+
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
15+
<coverage includeUncoveredFiles="false">
16+
<include>
17+
<directory suffix=".php">src/</directory>
18+
</include>
19+
</coverage>
20+
<testsuites>
21+
<testsuite name="Linkstreet\LaravelSms Test Suite">
22+
<directory suffix="Test.php">./tests/</directory>
23+
</testsuite>
24+
</testsuites>
25+
<php>
26+
<env name="APP_ENV" value="testing"/>
27+
</php>
28+
</phpunit>

0 commit comments

Comments
 (0)