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

heimrichhannot / contao-utils-bundle / 15017483614

14 May 2025 09:41AM UTC coverage: 25.302% (-54.2%) from 79.482%
15017483614

Pull #96

github

koertho
backport anonymize utils
Pull Request #96: Backport anonymize utils

6 of 7 new or added lines in 2 files covered. (85.71%)

248 existing lines in 22 files now uncovered.

1488 of 5881 relevant lines covered (25.3%)

1.56 hits per line

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

42.86
/src/Event/EntityFinderFindEvent.php
1
<?php
2

3
namespace HeimrichHannot\UtilsBundle\Event;
4

5
use HeimrichHannot\UtilsBundle\EntityFinder\Element;
6
use Symfony\Contracts\EventDispatcher\Event;
7

8
class EntityFinderFindEvent extends Event
9
{
10
    private string $table;
11
    private int $id;
12
    private ?Element $element = null;
13

14
    public function __construct(string $table, int $id)
15
    {
16
        $this->table = $table;
3✔
17
        $this->id = $id;
3✔
18
    }
19

20
    public function getTable(): string
21
    {
UNCOV
22
        return $this->table;
×
23
    }
24

25
    public function getId(): int
26
    {
UNCOV
27
        return $this->id;
×
28
    }
29

30
    public function setElement(Element $element): void
31
    {
UNCOV
32
        $this->element = $element;
×
UNCOV
33
        $this->stopPropagation();
×
34
    }
35

36
    public function getElement(): ?Element
37
    {
38
        return $this->element;
3✔
39
    }
40

41

42

43
}
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