<commit_before><?php

namespace App\Handler;

use App\Exceptions\MessageResponseBody;
use App\Models\VerifyCode;
use Symfony\Component\HttpFoundation\Response;
use Flc\Alidayu\Client;
use Flc\Alidayu\App;
use Flc\Alidayu\Requests\AlibabaAliqinFcSmsNumSend;

class SendPhoneMessage
{
    protected $verify;
    protected $alidayu;

    public function __construct(VerifyCode $verify)
    {
        $this->verify = $verify;
        $this->alidayu = app(Client::class, [
            app(App::class, [
                config('alidayu'),
            ]),
        ]);
    }

    public function send(): Response
    {
        $freeSignName = config('alidayu.sign_name');
        $verifyTemplateId = config('alidayu.verify_template_id');
        $request = with(new AlibabaAliqinFcSmsNumSend())
            ->setSmsParam([
                'code' => $this->verify->code,
            ])
            ->setSmsFreeSignName($freeSignName)
            ->setSmsTemplateCode($verifyTemplateId)
            ->setRecNum($this->verify->account);

        $response = $this->alidayu->execute($request);

        var_dump($response);exit;

        return app(MessageResponseBody::class, [
            'status' => true,
        ]);
    }
}
<commit_msg>Apply fixes from StyleCI<commit_after><?php

namespace App\Handler;

use App\Exceptions\MessageResponseBody;
use App\Models\VerifyCode;
use Flc\Alidayu\App;
use Flc\Alidayu\Client;
use Flc\Alidayu\Requests\AlibabaAliqinFcSmsNumSend;
use Symfony\Component\HttpFoundation\Response;

class SendPhoneMessage
{
    protected $verify;
    protected $alidayu;

    public function __construct(VerifyCode $verify)
    {
        $this->verify = $verify;
        $this->alidayu = app(Client::class, [
            app(App::class, [
                config('alidayu'),
            ]),
        ]);
    }

    public function send(): Response
    {
        $freeSignName = config('alidayu.sign_name');
        $verifyTemplateId = config('alidayu.verify_template_id');
        $request = with(new AlibabaAliqinFcSmsNumSend())
            ->setSmsParam([
                'code' => $this->verify->code,
            ])
            ->setSmsFreeSignName($freeSignName)
            ->setSmsTemplateCode($verifyTemplateId)
            ->setRecNum($this->verify->account);

        $response = $this->alidayu->execute($request);

        var_dump($response);
        exit;

        return app(MessageResponseBody::class, [
            'status' => true,
        ]);
    }
}

{'fraction_non_alphanumeric': 0.12994350282485875, 'fraction_numerical': 0.0, 'mean_word_length': 2.4478442280945756, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '223512', 'n_tokens_mistral': 764, 'n_tokens_neox': 748, 'n_words': 114}