| Conditions | 3 |
| Paths | 2 |
| Total Lines | 28 |
| Code Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 18 |
| CRAP Score | 3 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 41 | 2 | $response = $this->post( |
|
| 42 | 2 | "{$projectId}/_apis/wit/workitems/\${$workItem->workItemType}", |
|
| 43 | 2 | [ |
|
| 44 | 2 | 'headers' => ['Content-Type' => 'application/json-patch+json'], |
|
| 45 | 2 | 'json' => $this->toDevOpsWorkItem($workItem), |
|
| 46 | 2 | ] |
|
| 47 | 2 | ); |
|
| 48 | |||
| 49 | 1 | return $this->fromDevOpsWorkItem($response); |
|
| 50 | } |
||
| 51 | } |
||
| 52 |