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

tylernathanreed / jira-client-php / 13977986275

20 Mar 2025 07:34PM UTC coverage: 75.543% (+3.2%) from 72.327%
13977986275

push

github

tylernathanreed
~ Fixed and validated nested DTOs

1 of 1 new or added line in 1 file covered. (100.0%)

71 existing lines in 35 files now uncovered.

5186 of 6865 relevant lines covered (75.54%)

9.51 hits per line

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

0.0
/src/Schema/WebhookDetails.php
1
<?php
2

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Dto;
6

7
/** A list of webhooks. */
8
final readonly class WebhookDetails extends Dto
9
{
UNCOV
10
    public function __construct(
×
11
        /**
12
         * The Jira events that trigger the webhook.
13
         * 
14
         * @var list<string>
15
         */
16
        public array $events,
17

18
        /**
19
         * The JQL filter that specifies which issues the webhook is sent for.
20
         * Only a subset of JQL can be used.
21
         * The supported elements are:
22
         * 
23
         *  - Fields: `issueKey`, `project`, `issuetype`, `status`, `assignee`, `reporter`, `issue.property`, and `cf[id]`.
24
         * For custom fields (`cf[id]`), only the epic label custom field is supported."
25
         *  - Operators: `=`, `!=`, `IN`, and `NOT IN`.
26
         */
27
        public string $jqlFilter,
28

29
        /**
30
         * A list of field IDs.
31
         * When the issue changelog contains any of the fields, the webhook `jira:issue_updated` is sent.
32
         * If this parameter is not present, the app is notified about all field updates.
33
         * 
34
         * @var ?list<string>
35
         */
36
        public ?array $fieldIdsFilter = null,
37

38
        /**
39
         * A list of issue property keys.
40
         * A change of those issue properties triggers the `issue_property_set` or `issue_property_deleted` webhooks.
41
         * If this parameter is not present, the app is notified about all issue property updates.
42
         * 
43
         * @var ?list<string>
44
         */
45
        public ?array $issuePropertyKeysFilter = null,
46
    ) {
UNCOV
47
    }
×
48
}
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