mooxphp/moox

View on GitHub
packages/sync/src/Jobs/SyncPlatformJob.php

Summary

Maintainability
A
1 hr
Test Coverage

Method sendWebhook has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    protected function sendWebhook(Platform $platform, Platform $targetPlatform)
    {
        $webhookPath = config('sync.sync_webhook_url', '/sync-webhook');
        $webhookUrl = 'https://'.$targetPlatform->domain.$webhookPath;
        $syncToken = config('sync.sync_token');
Severity: Minor
Found in packages/sync/src/Jobs/SyncPlatformJob.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status