Who's to say that default value of 5 of DbPanel::excessiveCallerThreshold is good for everyone? That value is absolutely subjective and different for different projects. As such this diagnostic should be disabled by default by allowing DbPanel::excessiveCallerThreshold to have null value which would mean diagnostic is disabled (analogous to DbPanel::criticalQueryThreshold).
DbPanel::criticalQueryThreshold should be properly documented as allowing null value which means the diagnostic is disabled (already implemented but not mentioned in its PHPDoc).
Who's to say that default value of 5 of
DbPanel::excessiveCallerThreshold
is good for everyone? That value is absolutely subjective and different for different projects. As such this diagnostic should be disabled by default by allowingDbPanel::excessiveCallerThreshold
to have null value which would mean diagnostic is disabled (analogous toDbPanel::criticalQueryThreshold
).DbPanel::criticalQueryThreshold
should be properly documented as allowing null value which means the diagnostic is disabled (already implemented but not mentioned in its PHPDoc).