| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 68 | 6 | public function __construct(array $attributes) |
|
| 69 | { |
||
| 70 | 6 | $this->id = $attributes['id'] ?? null; |
|
| 71 | 6 | $this->title = $attributes['title']; |
|
| 72 | 6 | $this->description = $attributes['description'] ?? ''; |
|
| 73 | 6 | $this->state = $attributes['state'] ?? ''; |
|
| 74 | 6 | $this->workItemType = $attributes['workItemType']; |
|
| 75 | 6 | $this->stepsToReproduce = $attributes['stepsToReproduce'] ?? ''; |
|
| 76 | 6 | $this->path = $attributes['path'] ?? null; |
|
| 77 | 6 | $this->url = $attributes['url'] ?? ''; |
|
| 78 | } |
||
| 80 |