flavioheleno/pastry

View on GitHub
src/Board/Board.php

Summary

Maintainability
A
1 hr
Test Coverage
A
100%

Showing 1 of 1 total issue

Function fromCpuInfo has a Cognitive Complexity of 12 (exceeds 5 allowed). Consider refactoring.
Open

public static function fromCpuInfo(array $info): static {
$hardware = '';
$revision = '';
$serial = '';
$model = '';
Severity: Minor
Found in src/Board/Board.php - About 1 hr to fix
Category
Status