• 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/RepositoryTemplate.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace REPO_NAMESPACE;
6

7
use Brick\ORM\Gateway;
8

9
use IMPORTS;
10

11
/**
12
 * Repository for CLASS_NAME entities.
13
 * This class is generated automatically. Please do not edit.
14
 */
15
class CLASS_NAMERepository
16
{
17
    private Gateway $gateway;
18

19
    /**
20
     * Class constructor.
21
     */
22
    public function __construct(Gateway $gateway)
23
    {
UNCOV
24
        $this->gateway = $gateway;
×
25
    }
26

27
    public function load($IDENTITY_PROPS, int $options = 0, string ...$props): CLASS_NAME|null
28
    {
29
        /** @noinspection PhpIncompatibleReturnTypeInspection */
UNCOV
30
        return $this->gateway->load(CLASS_NAME::class, IDENTITY_ARRAY, $options, ...$props);
×
31
    }
32

33
    public function getReference($IDENTITY_PROPS): CLASS_NAME
34
    {
35
        /** @noinspection PhpIncompatibleReturnTypeInspection */
UNCOV
36
        return $this->gateway->getReference(CLASS_NAME::class, IDENTITY_ARRAY);
×
37
    }
38

39
    public function exists(CLASS_NAME $ENTITY_PROP_NAME): bool
40
    {
UNCOV
41
        return $this->gateway->exists($ENTITY_PROP_NAME);
×
42
    }
43

44
    public function existsIdentity($IDENTITY_PROPS): bool
45
    {
UNCOV
46
        return $this->gateway->existsIdentity(CLASS_NAME::class, IDENTITY_ARRAY);
×
47
    }
48

49
    public function add(CLASS_NAME $ENTITY_PROP_NAME): void
50
    {
UNCOV
51
        $this->gateway->add($ENTITY_PROP_NAME);
×
52
    }
53

54
    public function update(CLASS_NAME $ENTITY_PROP_NAME): void
55
    {
UNCOV
56
        $this->gateway->update($ENTITY_PROP_NAME);
×
57
    }
58

59
    public function remove(CLASS_NAME $ENTITY_PROP_NAME): void
60
    {
UNCOV
61
        $this->gateway->remove($ENTITY_PROP_NAME);
×
62
    }
63

64
    public function removeIdentity($IDENTITY_PROPS): void
65
    {
UNCOV
66
        $this->gateway->removeIdentity(CLASS_NAME::class, IDENTITY_ARRAY);
×
67
    }
68
}
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