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

brick / orm / 23255296146

18 Mar 2026 04:24PM UTC coverage: 47.104%. Remained the same
23255296146

push

github

BenMorel
Avoid \Exception that somehow confuses ECS

1 of 5 new or added lines in 1 file covered. (20.0%)

402 existing lines in 24 files now uncovered.

553 of 1174 relevant lines covered (47.1%)

10.6 hits per line

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

50.0
/src/Exception/UnknownPropertyException.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Brick\ORM\Exception;
6

7
use function sprintf;
8

9
/**
10
 * Exception thrown when refering to an unknown persistent class property.
11
 */
12
class UnknownPropertyException extends ORMException
13
{
14
    /**
15
     * @param class-string $class
16
     */
17
    public static function unknownProperty(string $class, string $property): self
18
    {
19
        return new self(sprintf('Class "%s" has no persistent property named "%s".', $class, $property));
1✔
20
    }
21

22
    /**
23
     * @param class-string $class
24
     */
25
    public static function invalidDottedProperty(string $class, string $dottedProperty): self
26
    {
UNCOV
27
        return new self(sprintf('"%s" is not a valid property for "%s".', $dottedProperty, $class));
×
28
    }
29
}
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