Skip to content

Commit

Permalink
Bump shivammathur/setup-php from 2.28.0 to 2.29.0 (#281)
Browse files Browse the repository at this point in the history
* Bump shivammathur/setup-php from 2.28.0 to 2.29.0

Bumps [shivammathur/setup-php](https://github.com/shivammathur/setup-php) from 2.28.0 to 2.29.0.
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](shivammathur/setup-php@2.28.0...2.29.0)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update sms.php

* Rector Rectify

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Zing <zingimmick@outlook.com>
Co-authored-by: zingimmick <zingimmick@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 25, 2024
1 parent efeb4a8 commit f5b1622
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@2.28.0
uses: shivammathur/setup-php@2.29.0
with:
php-version: ${{ matrix.php }}
coverage: xdebug
Expand Down
74 changes: 37 additions & 37 deletions config/sms.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,51 @@
'default' => env('SMS_CONNECTION', 'log'),
'connections' => [
'log' => [
'driver' => Zing\LaravelSms\Gateways\LogGateway::class,
'driver' => \Zing\LaravelSms\Gateways\LogGateway::class,
'channel' => env('SMS_LOG_CHANNEL'),
'level' => env('SMS_LOG_LEVEL', 'info'),
],
'yunpian' => [
'driver' => Overtrue\EasySms\Gateways\YunpianGateway::class,
'driver' => \Overtrue\EasySms\Gateways\YunpianGateway::class,
'api_key' => env('SMS_YUNPIAN_API_KEY'),
'signature' => env('SMS_YUNPIAN_SIGNATURE', ''),
],
'yunpian-market' => [
'driver' => Overtrue\EasySms\Gateways\YunpianGateway::class,
'driver' => \Overtrue\EasySms\Gateways\YunpianGateway::class,
'api_key' => env('SMS_YUNPIAN_MARKET_API_KEY'),
'signature' => env('SMS_YUNPIAN_MARKET_SIGNATURE', ''),
],
'aliyun' => [
'driver' => Overtrue\EasySms\Gateways\AliyunGateway::class,
'driver' => \Overtrue\EasySms\Gateways\AliyunGateway::class,
'access_key_id' => env('SMS_ALIYUN_ACCESS_KEY_ID'),
'access_key_secret' => env('SMS_ALIYUN_ACCESS_KEY_SECRET'),
'sign_name' => env('SMS_ALIYUN_ACCESS_SIGN_NAME'),
],
'aliyunintl' => [
'driver' => Overtrue\EasySms\Gateways\AliyunIntlGateway::class,
'driver' => \Overtrue\EasySms\Gateways\AliyunIntlGateway::class,
'access_key_id' => env('SMS_ALIYUNINTL_APP_SECRET_KEY'),
'access_key_secret' => env('SMS_ALIYUNINTL_SIGN_NAME'),
'sign_name' => env('SMS_ALIYUNINTL_APP_KEY'),
],
'aliyunrest' => [
'driver' => Overtrue\EasySms\Gateways\AliyunrestGateway::class,
'driver' => \Overtrue\EasySms\Gateways\AliyunrestGateway::class,
'app_key' => env('SMS_ALIYUNREST_APP_KEY'),
'app_secret_key' => env('SMS_ALIYUNREST_APP_SECRET_KEY'),
'sign_name' => env('SMS_ALIYUNREST_SIGN_NAME'),
],
'avatardata' => [
'driver' => Overtrue\EasySms\Gateways\AvatardataGateway::class,
'driver' => \Overtrue\EasySms\Gateways\AvatardataGateway::class,
'app_key' => env('SMS_AVATARDATA_APP_KEY'),
],
'baidu' => [
'driver' => Overtrue\EasySms\Gateways\BaiduGateway::class,
'driver' => \Overtrue\EasySms\Gateways\BaiduGateway::class,
'domain' => env('SMS_BAIDU_DOMAIN', 'smsv3.bj.baidubce.com'),
'ak' => env('SMS_BAIDU_AK'),
'sk' => env('SMS_BAIDU_SK'),
'invoke_id' => env('SMS_BAIDU_INVOKED_ID'),
],
'chuanglan' => [
'driver' => Overtrue\EasySms\Gateways\ChuanglanGateway::class,
'driver' => \Overtrue\EasySms\Gateways\ChuanglanGateway::class,
'channel' => env('SMS_CHUANGLAN_CHANNEL', 'smsbj1'),
'account' => env('SMS_CHUANGLAN_ACCOUNT'),
'password' => env('SMS_CHUANGLAN_PASSWORD'),
Expand All @@ -60,7 +60,7 @@
'unsubscribe' => env('SMS_CHUANGLAN_UNSUBSCRIBE'),
],
'chuanglanv1' => [
'driver' => Overtrue\EasySms\Gateways\Chuanglanv1Gateway::class,
'driver' => \Overtrue\EasySms\Gateways\Chuanglanv1Gateway::class,
'channel' => env('SMS_CHUANGLANV1_CHANNEL', 'v1/send'),
'account' => env('SMS_CHUANGLANV1_ACCOUNT'),
'password' => env('SMS_CHUANGLANV1_PASSWORD'),
Expand All @@ -69,11 +69,11 @@
'needstatus' => env('SMS_CHUANGLANV1_NEEDSTATUS'),
],
'errorlog' => [
'driver' => Overtrue\EasySms\Gateways\ErrorlogGateway::class,
'driver' => \Overtrue\EasySms\Gateways\ErrorlogGateway::class,
'file' => env('SMS_ERRORLOG_FILE', '/tmp/easy-sms.log'),
],
'huawei' => [
'driver' => Overtrue\EasySms\Gateways\HuaweiGateway::class,
'driver' => \Overtrue\EasySms\Gateways\HuaweiGateway::class,
'endpoint' => env('SMS_HUAWEI_ENDPOINT', 'https://api.rtc.huaweicloud.com:10443'),
'app_key' => env('SMS_HUAWEI_APP_KEY'),
'app_secret' => env('SMS_HUAWEI_APP_SECRET'),
Expand All @@ -83,108 +83,108 @@
'callback' => env('SMS_HUAWEI_CALLBACK', ''),
],
'huaxin' => [
'driver' => Overtrue\EasySms\Gateways\HuaxinGateway::class,
'driver' => \Overtrue\EasySms\Gateways\HuaxinGateway::class,
'ip' => env('SMS_HUAXIN_IP'),
'user_id' => env('SMS_HUAXIN_USER_ID'),
'account' => env('SMS_HUAXIN_ACCOUNT'),
'password' => env('SMS_HUAXIN_PASSWORD'),
'ext_no' => env('SMS_HUAXIN_EXT_NO'),
],
'huyi' => [
'driver' => Overtrue\EasySms\Gateways\HuyiGateway::class,
'driver' => \Overtrue\EasySms\Gateways\HuyiGateway::class,
'api_id' => env('SMS_HUYI_API_ID'),
'api_key' => env('SMS_HUYI_API_KEY'),
'signature' => env('SMS_HUYI_SIGNATURE'),
],
'juhe' => [
'driver' => Overtrue\EasySms\Gateways\JuheGateway::class,
'driver' => \Overtrue\EasySms\Gateways\JuheGateway::class,
'app_key' => env('SMS_JUHE_APP_KEY'),
],
'kingtto' => [
'driver' => Overtrue\EasySms\Gateways\KingttoGateway::class,
'driver' => \Overtrue\EasySms\Gateways\KingttoGateway::class,
'userid' => env('SMS_KINGTTO_USERID'),
'account' => env('SMS_KINGTTO_ACCOUNT'),
'password' => env('SMS_KINGTTO_PASSWORD'),
],
'luosimao' => [
'driver' => Overtrue\EasySms\Gateways\LuosimaoGateway::class,
'driver' => \Overtrue\EasySms\Gateways\LuosimaoGateway::class,
'api_key' => env('SMS_LUOSIMAO_API_KEY'),
],
'maap' => [
'driver' => Overtrue\EasySms\Gateways\MaapGateway::class,
'driver' => \Overtrue\EasySms\Gateways\MaapGateway::class,
'cpcode' => env('SMS_MAAP_CPCODE'),
'key' => env('SMS_MAAP_KEY'),
'excode' => env('SMS_MAAP_EXCODE', ''),
],
'meilian' => [
'driver' => Zing\LaravelSms\Gateways\MeilianGateway::class,
'driver' => \Zing\LaravelSms\Gateways\MeilianGateway::class,
'username' => env('SMS_MEILIAN_USERNAME'),
'password' => env('SMS_MEILIAN_PASSWORD'),
'api_key' => env('SMS_MEILIAN_API_KEY'),
'signature' => env('SMS_MEILIAN_SIGNATURE', ''),
],
'moduyun' => [
'driver' => Overtrue\EasySms\Gateways\ModuyunGateway::class,
'driver' => \Overtrue\EasySms\Gateways\ModuyunGateway::class,
'accesskey' => env('SMS_MODUYUN_ACCESS_KEY'),
'secretkey' => env('SMS_MODUYUN_SECRETKEY'),
'signId' => env('SMS_MODUYUN_SIGN_ID', ''),
'type' => env('SMS_MODUYUN_TYPE', 0),
],
'nowcn' => [
'driver' => Overtrue\EasySms\Gateways\NowcnGateway::class,
'driver' => \Overtrue\EasySms\Gateways\NowcnGateway::class,
'key' => env('SMS_NOWCN_KEY'),
'secret' => env('SMS_NOWCN_SECRET'),
'api_type' => env('SMS_NOWCN_API_TYPE'),
],
'qcloud' => [
'driver' => Overtrue\EasySms\Gateways\QcloudGateway::class,
'driver' => \Overtrue\EasySms\Gateways\QcloudGateway::class,
'secret_id' => env('SMS_QCOULD_SECRET_ID'),
'secret_key' => env('SMS_QCOULD_SECRET_KEY'),
'region' => env('SMS_QCOULD_REGION', 'ap-guangzhou'),
'sdk_app_id' => env('SMS_QCOULD_SDK_APP_ID'),
'sign_name' => env('SMS_QCOULD_SIGN_NAME', ''),
],
'qiniu' => [
'driver' => Overtrue\EasySms\Gateways\QiniuGateway::class,
'driver' => \Overtrue\EasySms\Gateways\QiniuGateway::class,
'access_key' => env('SMS_QINIU_ACCESS_KEY'),
'secret_key' => env('SMS_QINIU_SECRET_KEY'),
],
'rongcloud' => [
'driver' => Overtrue\EasySms\Gateways\RongcloudGateway::class,
'driver' => \Overtrue\EasySms\Gateways\RongcloudGateway::class,
'app_key' => env('SMS_RONGCLOUD_APP_KEY'),
'app_secret' => env('SMS_RONGCLOUD_APP_SECRET'),
],
'rongheyun' => [
'driver' => Overtrue\EasySms\Gateways\RongheyunGateway::class,
'driver' => \Overtrue\EasySms\Gateways\RongheyunGateway::class,
'username' => env('SMS_RONGHEYUN_USERNAME', ''),
'password' => env('SMS_RONGHEYUN_PASSWORD'),
'signature' => env('SMS_RONGHEYUN_SIGNATURE', ''),
],
'sendcloud' => [
'driver' => Overtrue\EasySms\Gateways\SendcloudGateway::class,
'driver' => \Overtrue\EasySms\Gateways\SendcloudGateway::class,
'sms_user' => env('SMS_SENDCLOUD_SMS_USER'),
'sms_key' => env('SMS_SENDCLOUD_SMS_KEY'),
'timestamp' => env('SMS_SENDCLOUD_TIMESTAMP', false),
],
'smsbao' => [
'driver' => Overtrue\EasySms\Gateways\SmsbaoGateway::class,
'driver' => \Overtrue\EasySms\Gateways\SmsbaoGateway::class,
'user' => env('SMS_SMSBAO_USER'),
'password' => env('SMS_SMSBAO_PASSWORD'),
],
'submail' => [
'driver' => Overtrue\EasySms\Gateways\SubmailGateway::class,
'driver' => \Overtrue\EasySms\Gateways\SubmailGateway::class,
'app_id' => env('SMS_SUBMAIL_APP_ID'),
'app_key' => env('SMS_SUBMAIL_APP_KEY'),
'project' => env('SMS_SUBMAIL_PROJECT'),
],
'tianyiwuxian' => [
'driver' => Overtrue\EasySms\Gateways\TianyiwuxianGateway::class,
'driver' => \Overtrue\EasySms\Gateways\TianyiwuxianGateway::class,
'gwid' => env('SMS_TIANYIWUXIAN_GWID'),
'username' => env('SMS_TIANYIWUXIAN_USERNAME'),
'password' => env('SMS_TIANYIWUXIAN_PASSWORD'),
],
'tiniyo' => [
'driver' => Overtrue\EasySms\Gateways\TiniyoGateway::class,
'driver' => \Overtrue\EasySms\Gateways\TiniyoGateway::class,
'account_sid' => env('SMS_TINIYO_ACCOUNT_SID'),
'token' => env('SMS_TINIYO_TOKEN'),
'from' => env('SMS_TINIYO_FROM'),
Expand All @@ -196,20 +196,20 @@
'sign' => env('SMS_TINREE_SIGN'),
],
'twilio' => [
'driver' => Overtrue\EasySms\Gateways\TwilioGateway::class,
'driver' => \Overtrue\EasySms\Gateways\TwilioGateway::class,
'account_sid' => env('SMS_TWILIO_ACCOUNT_SID'),
'from' => env('SMS_TWILIO_FROM'),
'token' => env('SMS_TWILIO_TOKEN'),
],
'ucloud' => [
'driver' => Overtrue\EasySms\Gateways\UcloudGateway::class,
'driver' => \Overtrue\EasySms\Gateways\UcloudGateway::class,
'sig_content' => env('SMS_UCLOUD_SIG_CONTENT', ''),
'public_key' => env('SMS_UCLOUD_PUBLIC_KEY'),
'project_id' => env('SMS_UCLOUD_PROJECT_ID'),
'private_key' => env('SMS_UCLOUD_PRIVATE_KEY'),
],
'ue35' => [
'driver' => Overtrue\EasySms\Gateways\Ue35Gateway::class,
'driver' => \Overtrue\EasySms\Gateways\Ue35Gateway::class,
'username' => env('SMS_UE35_USERNAME'),
'userpwd' => env('SMS_UE35_USERPWD'),
],
Expand All @@ -223,28 +223,28 @@
'timeout' => env('SMS_VOLCENGINE_TIMEOUT', 5),
],
'yuntongxun' => [
'driver' => Overtrue\EasySms\Gateways\YuntongxunGateway::class,
'driver' => \Overtrue\EasySms\Gateways\YuntongxunGateway::class,
'debug' => env('SMS_YUNTONGXUN_DEBUG'),
'is_sub_account' => env('SMS_YUNTONGXUN_IS_SUB_ACCOUNT'),
'app_id' => env('SMS_YUNTONGXUN_APP_ID'),
'account_sid' => env('SMS_YUNTONGXUN_ACCOUNT_SID'),
'account_token' => env('SMS_YUNTONGXUN_ACCOUNT_TOKEN'),
],
'yunxin' => [
'driver' => Overtrue\EasySms\Gateways\YunxinGateway::class,
'driver' => \Overtrue\EasySms\Gateways\YunxinGateway::class,
'app_key' => env('SMS_YUNXIN_APP_KEY'),
'app_secret' => env('SMS_YUNXIN_APP_SECRET'),
'code_length' => env('SMS_YUNXIN_CODE_LENGTH', 4),
'need_up' => env('SMS_YUNXIN_NEED_UP', false),
],
'yunzhixun' => [
'driver' => Overtrue\EasySms\Gateways\YunzhixunGateway::class,
'driver' => \Overtrue\EasySms\Gateways\YunzhixunGateway::class,
'sid' => env('SMS_YUNZHIXUN_SID'),
'token' => env('SMS_YUNZHIXUN_TOKEN'),
'app_id' => env('SMS_YUNZHIXUN_APP_ID'),
],
'zzyun' => [
'driver' => Overtrue\EasySms\Gateways\ZzyunGateway::class,
'driver' => \Overtrue\EasySms\Gateways\ZzyunGateway::class,
'user_id' => env('SMS_ZZYUN_USER_ID'),
'secret' => env('SMS_ZZYUN_SECRET'),
'sign_name' => env('SMS_ZZYUN_SIGN_NAME'),
Expand Down
2 changes: 1 addition & 1 deletion tests/Phone.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function __construct(

public function routeNotificationForSms(?Notification $notification = null): string
{
if ($notification instanceof \Illuminate\Notifications\Notification) {
if ($notification instanceof Notification) {
return $this->phone;
}

Expand Down

0 comments on commit f5b1622

Please sign in to comment.