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

LibreSign / libresign / 20210417471

14 Dec 2025 03:51PM UTC coverage: 44.081%. First build
20210417471

Pull #6181

github

web-flow
Merge 21aee754a into 95a26cb92
Pull Request #6181: feat: cancel signature request notification

114 of 235 new or added lines in 9 files covered. (48.51%)

5932 of 13457 relevant lines covered (44.08%)

5.06 hits per line

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

0.0
/lib/Activity/Settings/SignRequestCanceled.php
1
<?php
2

3
declare(strict_types=1);
4
/**
5
 * SPDX-FileCopyrightText: 2025 LibreCode coop and contributors
6
 * SPDX-License-Identifier: AGPL-3.0-or-later
7
 */
8

9
namespace OCA\Libresign\Activity\Settings;
10

11
use OCA\Libresign\Events\SignRequestCanceledEvent;
12
use OCA\Libresign\Helper\ValidateHelper;
13
use OCP\IL10N;
14
use OCP\IUserSession;
15

16
class SignRequestCanceled extends LibresignActivitySettings {
17
        public function __construct(
18
                protected IL10N $l,
19
                protected ValidateHelper $validateHelper,
20
                protected IUserSession $userSession,
21
        ) {
NEW
22
        }
×
23

24
        /**
25
         * {@inheritdoc}
26
         */
27
        #[\Override]
28
        public function getIdentifier(): string {
NEW
29
                return SignRequestCanceledEvent::SIGN_REQUEST_CANCELED;
×
30
        }
31

32
        /**
33
         * {@inheritdoc}
34
         */
35
        #[\Override]
36
        public function getName(): string {
NEW
37
                return $this->l->t('A signature request has been <strong>canceled</strong>');
×
38
        }
39

40
        /**
41
         * {@inheritdoc}
42
         */
43
        #[\Override]
44
        public function getPriority(): int {
NEW
45
                return 51;
×
46
        }
47

48
        /**
49
         * {@inheritdoc}
50
         */
51
        #[\Override]
52
        public function canChangeNotification(): bool {
NEW
53
                return true;
×
54
        }
55

56
        /**
57
         * {@inheritdoc}
58
         */
59
        #[\Override]
60
        public function canChangeMail() {
NEW
61
                return true;
×
62
        }
63
}
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