rostenkowski/doctrine

View on GitHub
src/Doctrine/Debugger/TracyBar.php

Summary

Maintainability
A
45 mins
Test Coverage

Showing 1 of 1 total issue

Function startQuery has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Open

public function startQuery($sql, array $params = NULL, array $types = NULL)
{
$this->start = (float) microtime(true);
 
$trace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
Severity: Minor
Found in src/Doctrine/Debugger/TracyBar.php - About 45 mins to fix

There are no issues that match your filters.

Category
Status