| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 108 | 44 | public static function suiteFromArray(array $arr): self |
|
| 109 | { |
||
| 110 | 44 | return new self( |
|
| 111 | 44 | $arr['name'], |
|
| 112 | 44 | $arr['tests'], |
|
| 113 | 44 | $arr['assertions'], |
|
| 114 | 44 | $arr['failures'], |
|
| 115 | 44 | $arr['errors'], |
|
| 116 | 44 | $arr['skipped'], |
|
| 117 | 44 | $arr['time'], |
|
| 118 | 44 | $arr['file'] |
|
| 119 | ); |
||
| 120 | } |
||
| 121 | |||
| 143 |