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

tylernathanreed / jira-client-php / 14480277072

15 Apr 2025 10:05PM UTC coverage: 82.095% (-1.4%) from 83.476%
14480277072

push

github

tylernathanreed
~ Fixed polymorphic dtos

5736 of 6987 relevant lines covered (82.1%)

10.5 hits per line

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

22.22
/src/Schema/WorkflowCondition.php
1
<?php
2

3
namespace Jira\Client\Schema;
4

5
use Jira\Client\Http\PolymorphicDto;
6

7
/** The workflow transition rule conditions tree. */
8
final readonly class WorkflowCondition extends PolymorphicDto
9
{
10
    public function __construct(
1✔
11

12
    ) {
13
    }
1✔
14

15
    public static function discriminator(): string
×
16
    {
17
        return 'nodeType';
×
18
    }
19

20
    /** @inheritDoc */
21
    public static function discriminatorMap(): array
×
22
    {
23
        return [
×
24
            'compound' => WorkflowCompoundCondition::class,
×
25
            'simple' => WorkflowSimpleCondition::class,
×
26
        ];
×
27
    }
28
}
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