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

azjezz / psl / 23102198929

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

push

github

web-flow
bc(tcp, udp, unix): replace option parameters with configuration objects (#635)

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/UDP/BindConfiguration.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Psl\UDP;
6

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

10
/**
11
 * Configuration for UDP socket bind operations.
12
 */
13
final readonly class BindConfiguration implements DefaultInterface
14
{
15
    /**
16
     * @param bool $reuseAddress Allow reuse of local addresses.
17
     * @param bool $reusePort Allow multiple sockets to bind to the same port.
18
     * @param bool $broadcast Enable sending broadcast datagrams.
19
     */
20
    public function __construct(
21
        public bool $reuseAddress = false,
22
        public bool $reusePort = false,
23
        public bool $broadcast = false,
24
    ) {}
40✔
25

26
    #[Override]
27
    public static function default(): static
28
    {
NEW
29
        return new self();
×
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

© 2026 Coveralls, Inc