• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

otis22 / vetmanager-url / 19905624415

03 Dec 2025 07:07PM UTC coverage: 79.31% (+7.2%) from 72.131%
19905624415

Pull #5

github

cursoragent
Cache responses in FromJson::fromDomainAndBillingApi

Co-authored-by: vromanichev24 <vromanichev24@gmail.com>
Pull Request #5: Запуск воркфлоу в репозитории

3 of 6 new or added lines in 2 files covered. (50.0%)

2 existing lines in 2 files now uncovered.

46 of 58 relevant lines covered (79.31%)

6.78 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/functions.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Otis22\VetmanagerUrl;
6

7
use GuzzleHttp\Client;
8
use Otis22\VetmanagerUrl\Url\Part\Domain;
9

10
function create_url_from_billing_api_gateway(string $domainName, string $billingApiUrl): Url
11
{
12
    return Url\FromJson::fromDomainAndBillingApi(
×
13
        new Domain($domainName),
×
14
        new Url\BillingApi($billingApiUrl)
×
15
    );
×
16
}
17

18
function url(string $domainName): Url
19
{
NEW
20
    return create_url_from_billing_api_gateway($domainName, "https://billing-api.vetmanager.ru");
×
21
}
22

23
function url_test_env(string $domainName): Url
24
{
UNCOV
25
    return create_url_from_billing_api_gateway($domainName, "https://billing-api-test.kube-dev.vetmanager.cloud/");
×
26
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc