Skip to content

Commit 8a5cf37

Browse files
committed
Add support for Laravel 7
1 parent 430ccdc commit 8a5cf37

File tree

2 files changed

+16
-21
lines changed

2 files changed

+16
-21
lines changed

composer.json

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "laravel-notification-channels/cmsms",
3-
"description": "Cmsms notification channel for Laravel 5",
3+
"description": "CMSMS notification channel for Laravel 5 and up",
44
"homepage": "https://github.com/laravel-notification-channels/cmsms",
55
"license": "MIT",
66
"authors": [
@@ -15,14 +15,24 @@
1515
"php": "^7.2",
1616
"ext-simplexml": "*",
1717
"guzzlehttp/guzzle": "^6.2",
18-
"illuminate/notifications": "~5.5||~6.0",
19-
"illuminate/support": "5.8.*",
20-
"orchestra/testbench": "3.8.*"
18+
"illuminate/notifications": "~5.8 || ~6.0 || ^7.0",
19+
"illuminate/support": "~5.8 || ~6.0 || ^7.0",
20+
"orchestra/testbench": "~3.8.0 || ^4.0 || ^5.0"
2121
},
2222
"require-dev": {
2323
"mockery/mockery": "~1.0",
2424
"phpunit/phpunit": "~8.0"
2525
},
26+
"config": {
27+
"sort-packages": true
28+
},
29+
"extra": {
30+
"laravel": {
31+
"providers": [
32+
"NotificationChannels\\Cmsms\\CmsmsServiceProvider"
33+
]
34+
}
35+
},
2636
"autoload": {
2737
"psr-4": {
2838
"NotificationChannels\\Cmsms\\": "src"
@@ -33,17 +43,9 @@
3343
"NotificationChannels\\Cmsms\\Test\\": "tests"
3444
}
3545
},
46+
"minimum-stability": "dev",
47+
"prefer-stable": true,
3648
"scripts": {
3749
"test": "vendor/bin/phpunit"
38-
},
39-
"config": {
40-
"sort-packages": true
41-
},
42-
"extra": {
43-
"laravel": {
44-
"providers": [
45-
"NotificationChannels\\Cmsms\\CmsmsServiceProvider"
46-
]
47-
}
4850
}
4951
}

phpunit.xml.dist

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,4 @@
1919
<directory suffix=".php">src/</directory>
2020
</whitelist>
2121
</filter>
22-
<logging>
23-
<log type="tap" target="build/report.tap"/>
24-
<log type="junit" target="build/report.junit.xml"/>
25-
<log type="coverage-html" target="build/coverage"/>
26-
<log type="coverage-text" target="build/coverage.txt"/>
27-
<log type="coverage-clover" target="build/logs/clover.xml"/>
28-
</logging>
2922
</phpunit>

0 commit comments

Comments
 (0)