| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 12 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 12 | 5 | public static function get() : array { |
|
| 13 | 1 | return [ |
|
| 14 | 1 | 'Electron/' => new props('start', fn (string $value) : array => [ |
|
| 15 | 5 | 'framework' => 'Electron', |
|
| 16 | 5 | 'frameworkversion' => \explode('/', $value, 3)[1] |
|
| 17 | 5 | ]), |
|
| 18 | 1 | 'MAUI' => new props('start', [ |
|
| 19 | 1 | 'framework' => 'MAUI' |
|
| 20 | 1 | ]), |
|
| 21 | 1 | 'Cordova' => new props('start', fn (string $value) : array => [ |
|
| 22 | 2 | 'framework' => 'Cordova', |
|
| 23 | 2 | 'frameworkversion' => \explode('/', $value, 3)[1] |
|
| 24 | 2 | ]) |
|
| 27 | } |