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

h4kuna / fio-nette / 12753996298

13 Jan 2025 06:48PM UTC coverage: 99.0% (-1.0%) from 100.0%
12753996298

push

github

h4kuna
feat(qa): update phpstan and php 8.4

3 of 3 new or added lines in 1 file covered. (100.0%)

1 existing line in 1 file now uncovered.

99 of 100 relevant lines covered (99.0%)

0.99 hits per line

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

80.0
/src/FioFactory.php
1
<?php declare(strict_types=1);
2

3
namespace h4kuna\Fio\Nette;
4

5
use h4kuna\Fio;
6

7
class /* readonly */ FioFactory
8
{
9

10
        public function __construct(
1✔
11
                private Fio\Pay\XMLFile $xmlFile,
12
                private Fio\Read\Json $json,
13
                private Fio\Account\AccountCollection $accountCollection,
14
                private Fio\Utils\Queue $queue,
15
        )
16
        {
17
        }
1✔
18

19

20
        public function createFioPay(string $name = ''): Fio\FioPay
1✔
21
        {
22
                return new Fio\FioPay($this->queue, $this->accountCollection->account($name), $this->xmlFile);
1✔
23
        }
24

25

26
        public function createFioRead(string $name = ''): Fio\FioRead
27
        {
UNCOV
28
                return new Fio\FioRead($this->queue, $this->accountCollection->account($name), $this->json);
×
29
        }
30

31
}
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

© 2025 Coveralls, Inc