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

azjezz / psl / 23102184805

15 Mar 2026 03:08AM UTC coverage: 95.582% (+0.001%) from 95.581%
23102184805

push

github

azjezz
bc(tcp, udp, unix): replace option parameters with configuration objects

Signed-off-by: azjezz <azjezz@protonmail.com>

33 of 37 new or added lines in 11 files covered. (89.19%)

2 existing lines in 1 file now uncovered.

10493 of 10978 relevant lines covered (95.58%)

34.91 hits per line

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

50.0
/src/Psl/Unix/ListenConfiguration.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Psl\Unix;
6

7
use Override;
8
use Psl\Default\DefaultInterface;
9

10
/**
11
 * Configuration for Unix domain socket listen operations.
12
 */
13
final readonly class ListenConfiguration implements DefaultInterface
14
{
15
    /**
16
     * @param int<1, max> $backlog Maximum length of the queue of pending connections.
17
     * @param int<1, max> $idleConnections Maximum number of idle connections to buffer.
18
     */
19
    public function __construct(
20
        public int $backlog = 512,
21
        public int $idleConnections = 256,
22
    ) {}
11✔
23

24
    #[Override]
25
    public static function default(): static
26
    {
NEW
27
        return new self();
×
28
    }
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc