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

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

13 Apr 2026 10:57AM UTC coverage: 27.11%. First build
24339806478

push

github

wol-soft
Merge branch 'refs/heads/master' into jsonSchemaDraft7

# Conflicts:
#	src/Exception/ComposedValue/ConditionalException.php
#	src/Exception/Generic/InvalidConstException.php
#	src/Exception/Generic/InvalidTypeException.php
#	src/Exception/Object/AdditionalPropertiesException.php
#	src/Exception/Object/InvalidInstanceOfException.php
#	src/Traits/SerializableTrait.php

49 of 153 new or added lines in 44 files covered. (32.03%)

167 of 616 relevant lines covered (27.11%)

0.9 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(
×
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

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

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