Skip to content

Commit f2beb9e

Browse files
committed
Drop unused Profiler::getDefaultConfig
1 parent be18731 commit f2beb9e

1 file changed

Lines changed: 0 additions & 35 deletions

File tree

src/Profiler.php

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -277,39 +277,4 @@ private function getSaver()
277277

278278
return $this->saveHandler ?: null;
279279
}
280-
281-
/**
282-
* @return array
283-
*/
284-
private function getDefaultConfig()
285-
{
286-
return array(
287-
'save.handler' => self::SAVER_STACK,
288-
'save.handler.stack' => array(
289-
'savers' => array(
290-
self::SAVER_UPLOAD,
291-
self::SAVER_FILE,
292-
),
293-
'saveAll' => false,
294-
),
295-
'save.handler.file' => array(
296-
'filename' => sys_get_temp_dir() . '/xhgui.data.jsonl',
297-
),
298-
'profiler.enable' => function () {
299-
return true;
300-
},
301-
'profiler.flags' => array(
302-
ProfilingFlags::CPU,
303-
ProfilingFlags::MEMORY,
304-
ProfilingFlags::NO_BUILTINS,
305-
ProfilingFlags::NO_SPANS,
306-
),
307-
'profiler.options' => array(),
308-
'profiler.exclude-env' => array(),
309-
'profiler.simple_url' => function ($url) {
310-
return preg_replace('/=\d+/', '', $url);
311-
},
312-
'profiler.replace_url' => null,
313-
);
314-
}
315280
}

0 commit comments

Comments
 (0)