<commit_before><?php

declare(strict_types=1);

namespace App\Jobs;

use App\Models\Payment;
use Exception;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldBeUnique;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Square\Models\Order;
use Square\Models\OrderFulfillment;
use Square\Models\OrderFulfillmentState;
use Square\Models\OrderState;
use Square\Models\UpdateOrderRequest;
use Square\SquareClient;

class FulfillSquareOrder implements ShouldQueue, ShouldBeUnique
{
    use Dispatchable;
    use InteractsWithQueue;
    use Queueable;
    use SerializesModels;

    /**
     * Create a new job instance.
     */
    public function __construct(private string $order_id)
    {
    }

    /**
     * Execute the job.
     */
    public function handle(): void
    {
        $square = new SquareClient([
            'accessToken' => config('square.access_token'),
            'environment' => config('square.environment'),
        ]);
<commit_msg>Set queue for FulfillSquareOrder<commit_after><?php

declare(strict_types=1);

namespace App\Jobs;

use App\Models\Payment;
use Exception;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldBeUnique;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Square\Models\Order;
use Square\Models\OrderFulfillment;
use Square\Models\OrderFulfillmentState;
use Square\Models\OrderState;
use Square\Models\UpdateOrderRequest;
use Square\SquareClient;

class FulfillSquareOrder implements ShouldQueue, ShouldBeUnique
{
    use Dispatchable;
    use InteractsWithQueue;
    use Queueable;
    use SerializesModels;

    /**
     * Create a new job instance.
     */
    public function __construct(private string $order_id)
    {
        $this->tries = 1;
        $this->queue = 'square';
    }

    /**
     * Execute the job.
     */
    public function handle(): void
    {
        $square = new SquareClient([
            'accessToken' => config('square.access_token'),
            'environment' => config('square.environment'),
        ]);

{'fraction_non_alphanumeric': 0.10159010600706714, 'fraction_numerical': 0.001325088339222615, 'mean_word_length': 3.6413934426229506, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 9, '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': '2111973', 'n_tokens_mistral': 660, 'n_tokens_neox': 678, 'n_words': 145}