File tree Expand file tree Collapse file tree 11 files changed +22
-23
lines changed
Expand file tree Collapse file tree 11 files changed +22
-23
lines changed Original file line number Diff line number Diff line change 11/vendor
22/build
33/composer.lock
4+ .phpunit.result.cache
Original file line number Diff line number Diff line change 11preset : laravel
2-
3- linting : true
Original file line number Diff line number Diff line change 55 - $HOME/.composer/cache
66
77php :
8- - 5.6.4
9- - 7.0
10- - 7.1
11- - nightly
8+ - 7.2
9+ - 7.3
1210
1311env :
1412 matrix :
Original file line number Diff line number Diff line change 1- # Smsapi notifications channel for Laravel 5.3+
1+ # Smsapi notifications channel for Laravel
22
33[ ![ Latest Version on Packagist] ( https://img.shields.io/packagist/v/laravel-notification-channels/smsapi.svg )] ( https://packagist.org/packages/laravel-notification-channels/smsapi )
44[ ![ Software License] ( https://img.shields.io/badge/license-MIT-brightgreen.svg )] ( LICENSE.md )
99[ ![ Total Downloads] ( https://poser.pugx.org/laravel-notification-channels/smsapi/downloads )] ( https://packagist.org/packages/laravel-notification-channels/smsapi )
1010[ ![ PHP 7 ready] ( http://php7ready.timesplinter.ch/laravel-notification-channels/smsapi/badge.svg )] ( https://travis-ci.org/laravel-notification-channels/smsapi )
1111
12- This package makes it easy to send notifications using [ Smsapi] ( https://www.smsapi.pl/ ) with Laravel 5.3+ .
12+ This package makes it easy to send notifications using [ Smsapi] ( https://www.smsapi.pl/ ) with Laravel 5.5+ & 6.x .
1313
1414## Contents
1515
Original file line number Diff line number Diff line change 1212 }
1313 ],
1414 "require" : {
15- "php" : " >=5.6.4 " ,
16- "illuminate/notifications" : " ^5.3 " ,
17- "illuminate/support" : " ^5.3 " ,
15+ "php" : " >=7.1 " ,
16+ "illuminate/notifications" : " ~5.5 || ~6.0 " ,
17+ "illuminate/support" : " ~5.5 || ~6.0 " ,
1818 "smsapi/php-client" : " ^1.8"
1919 },
2020 "require-dev" : {
21- "mockery/mockery" : " ^0.9.5 " ,
22- "phpunit/phpunit" : " ^5.4 "
21+ "mockery/mockery" : " ^1.0 " ,
22+ "phpunit/phpunit" : " ^8.0 "
2323 },
2424 "autoload" : {
2525 "psr-4" : {
Original file line number Diff line number Diff line change 2222 <logging >
2323 <log type =" tap" target =" build/report.tap" />
2424 <log type =" junit" target =" build/report.junit.xml" />
25- <log type =" coverage-html" target =" build/coverage" charset = " UTF-8 " yui = " true " highlight = " true " />
25+ <log type =" coverage-html" target =" build/coverage" />
2626 <log type =" coverage-text" target =" build/coverage.txt" />
2727 <log type =" coverage-clover" target =" build/logs/clover.xml" />
2828 </logging >
Original file line number Diff line number Diff line change 33namespace NotificationChannels \Smsapi \Tests ;
44
55use Mockery ;
6- use SMSApi \Client ;
7- use SMSApi \Proxy \Http \AbstractHttp as Proxy ;
86use NotificationChannels \Smsapi \SmsapiClient ;
97use NotificationChannels \Smsapi \SmsapiSmsMessage ;
8+ use PHPUnit \Framework \TestCase ;
9+ use SMSApi \Client ;
10+ use SMSApi \Proxy \Http \AbstractHttp as Proxy ;
1011
1112/**
1213 * @internal
1314 * @coversDefaultClass SmsapiClient
1415 */
15- class SmsapiClientTest extends \PHPUnit_Framework_TestCase
16+ class SmsapiClientTest extends TestCase
1617{
1718 /**
1819 * @var Proxy
@@ -24,7 +25,7 @@ class SmsapiClientTest extends \PHPUnit_Framework_TestCase
2425 */
2526 private $ client ;
2627
27- public function setUp ()
28+ public function setUp (): void
2829 {
2930 parent ::setUp ();
3031 $ this ->proxy = Mockery::mock (Proxy::class)->makePartial ()->shouldAllowMockingProtectedMethods ();
Original file line number Diff line number Diff line change 22
33namespace NotificationChannels \Smsapi \Tests ;
44
5- use stdClass ;
65use InvalidArgumentException ;
76use NotificationChannels \Smsapi \SmsapiMessage ;
7+ use PHPUnit \Framework \TestCase ;
8+ use stdClass ;
89
910/**
1011 * @internal
1112 * @coversDefaultClass \NotificationChannels\Smsapi\SmsapiMessage
1213 */
13- abstract class SmsapiMessageTest extends \PHPUnit_Framework_TestCase
14+ abstract class SmsapiMessageTest extends TestCase
1415{
1516 /**
1617 * @var SmsapiMessage
Original file line number Diff line number Diff line change 1111 */
1212class SmsapiMmsMessageTest extends SmsapiMessageTest
1313{
14- public function setUp ()
14+ public function setUp (): void
1515 {
1616 parent ::setUp ();
1717 $ this ->message = new SmsapiMmsMessage ();
Original file line number Diff line number Diff line change 1111 */
1212class SmsapiSmsMessageTest extends SmsapiMessageTest
1313{
14- public function setUp ()
14+ public function setUp (): void
1515 {
1616 parent ::setUp ();
1717 $ this ->message = new SmsapiSmsMessage ();
You can’t perform that action at this time.
0 commit comments