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

dragomano / scss-php / 23594295754

26 Mar 2026 12:19PM UTC coverage: 84.536%. First build
23594295754

push

github

web-flow
Merge pull request #51 from dragomano/refactor

Rewrite compiler

10140 of 12016 new or added lines in 162 files covered. (84.39%)

10272 of 12151 relevant lines covered (84.54%)

83.37 hits per line

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

20.0
/src/Exceptions/BuiltinArgumentException.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Bugo\SCSS\Exceptions;
6

7
final class BuiltinArgumentException extends SassArgumentException
8
{
9
    public static function cannotOperateOnEmpty(string $context, string $target): self
10
    {
NEW
11
        return new self("$context cannot operate on an empty $target.");
×
12
    }
13

14
    public static function mustNotBeZero(string $context, string $argument): self
15
    {
16
        return new self("$context $argument must not be 0.");
1✔
17
    }
18

19
    public static function outOfRange(string $context, string $argument, int $value): self
20
    {
NEW
21
        return new self("$context $argument '$value' is out of range.");
×
22
    }
23

24
    public static function mustBePositiveInteger(string $context, string $argument): self
25
    {
NEW
26
        return new self("$context $argument must be a positive integer.");
×
27
    }
28

29
    public static function unsupportedUnit(string $context, string $actual, string $allowed): self
30
    {
NEW
31
        return new self("$context unsupported unit '$actual'. Allowed units: $allowed.");
×
32
    }
33
}
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