Private/Polyfony/Profiler/HTML/Timing.php
Method getBody
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function getBody($data) {
$timing_body = [];
// for each stacked element
foreach($data['stack'] as $elem) {
- Create a ticketCreate a ticket
Method getLegend
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function getLegend() :array {
// the general legend for the waterfall graphics
$legend=[];
$legend[] = new Element('span',[
- Create a ticketCreate a ticket