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

valkyrjaio / valkyrja / 20156277091

12 Dec 2025 04:26AM UTC coverage: 73.416% (-0.6%) from 74.002%
20156277091

push

github

MelechMizrachi
CI: Trying to fix coveralls.

8125 of 11067 relevant lines covered (73.42%)

17.9 hits per line

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

0.0
/src/Valkyrja/Notification/Entity/NotifiableUserTrait.php
1
<?php
2

3
declare(strict_types=1);
4

5
/*
6
 * This file is part of the Valkyrja Framework package.
7
 *
8
 * (c) Melech Mizrachi <melechmizrachi@gmail.com>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13

14
namespace Valkyrja\Notification\Entity;
15

16
use Valkyrja\Notification\Constant\UserField;
17

18
/**
19
 * Trait NotifiableUserTrait.
20
 *
21
 * @author Melech Mizrachi
22
 */
23
trait NotifiableUserTrait
24
{
25
    /**
26
     * @inheritDoc
27
     */
28
    public static function hasNameField(): bool
×
29
    {
30
        return true;
×
31
    }
32

33
    /**
34
     * @inheritDoc
35
     */
36
    public static function getNameField(): string
×
37
    {
38
        return UserField::NAME;
×
39
    }
40

41
    /**
42
     * @inheritDoc
43
     */
44
    public static function hasPhoneNumberField(): bool
×
45
    {
46
        return true;
×
47
    }
48

49
    /**
50
     * @inheritDoc
51
     */
52
    public static function getPhoneNumberField(): string
×
53
    {
54
        return UserField::PHONE_NUMBER;
×
55
    }
56

57
    /**
58
     * @inheritDoc
59
     */
60
    public static function hasSecretIdField(): bool
×
61
    {
62
        return true;
×
63
    }
64

65
    /**
66
     * @inheritDoc
67
     */
68
    public static function getSecretIdField(): string
×
69
    {
70
        return UserField::SECRET_ID;
×
71
    }
72
}
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