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

azjezz / psl / 22520865518

28 Feb 2026 12:36PM UTC coverage: 97.768% (+0.2%) from 97.532%
22520865518

Pull #586

github

azjezz
more tests

Signed-off-by: azjezz <azjezz@protonmail.com>
Pull Request #586: add more tests

16 of 16 new or added lines in 4 files covered. (100.0%)

20 existing lines in 13 files now uncovered.

7492 of 7663 relevant lines covered (97.77%)

43.46 hits per line

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

50.0
/src/Psl/Type/Internal/ScalarType.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Psl\Type\Internal;
6

7
/**
8
 * @extends UnionType<string|bool, int|float>
9
 *
10
 * @internal
11
 */
12
final readonly class ScalarType extends UnionType
13
{
14
    /**
15
     * @psalm-mutation-free
16
     */
17
    public function __construct()
18
    {
UNCOV
19
        parent::__construct(new UnionType(new StringType(), new BoolType()), new NumType());
×
20
    }
21

22
    #[\Override]
23
    public function toString(): string
24
    {
25
        return 'scalar';
25✔
26
    }
27
}
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