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

wol-soft / php-json-schema-model-generator-production / 23464244096

23 Mar 2026 10:57PM UTC coverage: 20.543% (+0.8%) from 19.718%
23464244096

Pull #13

github

web-flow
Delete composer.lock
Pull Request #13: Upgrade to PHP 8.4 minimum and PHPUnit 13

4 of 67 new or added lines in 35 files covered. (5.97%)

43 existing lines in 30 files now uncovered.

106 of 516 relevant lines covered (20.54%)

0.6 hits per line

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

0.0
/src/Exception/Filter/InvalidFilterValueException.php
1
<?php
2

3
declare(strict_types = 1);
4

5
namespace PHPModelGenerator\Exception\Filter;
6

7
use PHPModelGenerator\Exception\ValidationException;
8
use Throwable;
9

10
/**
11
 * Class InvalidFilterValueException
12
 *
13
 * @package PHPModelGenerator\Exception\Filter
14
 */
15
class InvalidFilterValueException extends ValidationException
16
{
17
    /**
18
     * InvalidFilterValueException constructor.
19
     *
20
     * @param           $providedValue
21
     */
NEW
22
    public function __construct($providedValue, string $propertyName, protected string $filterToken, Throwable $filterException)
×
23
    {
24
        parent::__construct(
×
UNCOV
25
            sprintf(
×
26
                'Invalid value for property %s denied by filter %s: %s',
×
27
                $propertyName,
×
NEW
28
                $this->filterToken,
×
29
                $filterException->getMessage()
×
30
            ),
×
31
            $propertyName,
×
32
            $providedValue,
×
33
            0,
×
34
            $filterException
×
35
        );
×
36
    }
37

UNCOV
38
    public function getFilterToken(): string
×
39
    {
40
        return $this->filterToken;
×
41
    }
42

UNCOV
43
    public function getFilterException(): Throwable
×
44
    {
45
        return $this->getPrevious();
×
46
    }
47
}
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