Showing 1 of 1 total issue
Method build
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function build(string $file, bool $validate = false): StateGraph
{
return FFor::create(['xmlFile' => $file, 'validate' => $validate])
->dom(function(string $xmlFile, bool $validate): \DOMDocument {
if (!file_exists($xmlFile)) {