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

LibreSign / libresign / 28246261875

26 Jun 2026 02:59PM UTC coverage: 59.613%. First build
28246261875

Pull #7070

github

web-flow
Merge 9d84756bb into b0c27c3bc
Pull Request #7070: feat: setup check implementation

346 of 374 new or added lines in 12 files covered. (92.51%)

11469 of 19239 relevant lines covered (59.61%)

7.11 hits per line

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

83.33
/lib/Service/SetupCheck/ConfigureCheckResult.php
1
<?php
2

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

9
namespace OCA\Libresign\Service\SetupCheck;
10

11
use JsonSerializable;
12

13
class ConfigureCheckResult implements JsonSerializable {
14
        public function __construct(
15
                private string $status,
16
                private string $resource,
17
                private string $message,
18
                private string $tip,
19
                private string $category,
20
        ) {
21
        }
6✔
22

23
        public function getStatus(): string {
24
                return $this->status;
4✔
25
        }
26

27
        public function getResource(): string {
28
                return $this->resource;
1✔
29
        }
30

31
        public function getMessage(): string {
NEW
32
                return $this->message;
×
33
        }
34

35
        public function getTip(): string {
NEW
36
                return $this->tip;
×
37
        }
38

39
        public function getCategory(): string {
40
                return $this->category;
2✔
41
        }
42

43
        #[\Override]
44
        public function jsonSerialize(): array {
45
                return [
1✔
46
                        'status' => $this->status,
1✔
47
                        'resource' => $this->resource,
1✔
48
                        'message' => $this->message,
1✔
49
                        'tip' => $this->tip,
1✔
50
                ];
1✔
51
        }
52
}
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