• 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

0.0
/src/Exception/NonUniqueResultException.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 a query returns several results, and at most one was expected.
11
 */
12
class NonUniqueResultException extends ORMException
13
{
14
    public static function nonUniqueResult(int $resultCount): self
15
    {
UNCOV
16
        return new self(sprintf('The query returned %d results, when at most 1 was expected.', $resultCount));
×
17
    }
18
}
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