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

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

04 Aug 2026 09:45AM UTC coverage: 37.862% (-8.0%) from 45.818%
30897730738

push

github

web-flow
Merge pull request #21 from wol-soft/jsonSchemaDraft2019

Json schema draft2019

1 of 181 new or added lines in 15 files covered. (0.55%)

379 of 1001 relevant lines covered (37.86%)

1.67 hits per line

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

0.0
/src/Exception/Object/MaxPropertiesException.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace PHPModelGenerator\Exception\Object;
6

7
use PHPModelGenerator\Exception\ValidationException;
8

9
class MaxPropertiesException extends ValidationException
10
{
NEW
11
    public function __construct(
×
12
        $providedValue,
13
        string $propertyName,
14
        string $jsonPointer,
15
        protected int $maxProperties,
16
        protected int $count,
17
    ) {
18
        parent::__construct(
×
19
            "Provided object for '$propertyName' must not contain more than {$this->maxProperties} properties",
×
20
            $propertyName,
×
21
            $providedValue,
×
22
            $jsonPointer
×
23
        );
×
24
    }
25

26
    public function getMaxProperties(): int
×
27
    {
28
        return $this->maxProperties;
×
29
    }
30

NEW
31
    public function getCount(): int
×
32
    {
NEW
33
        return $this->count;
×
34
    }
35
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc