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

azjezz / psl / 17432557268

03 Sep 2025 11:52AM UTC coverage: 98.446% (-0.07%) from 98.513%
17432557268

push

github

web-flow
chore: migrate from `psalm` to `mago` (#527)

232 of 241 new or added lines in 81 files covered. (96.27%)

14 existing lines in 12 files now uncovered.

5510 of 5597 relevant lines covered (98.45%)

52.23 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
    {
NEW
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