Skip to content

Commit a87e0ad

Browse files
MAGETWO-69157: Zend_Wildfire deprecated, Firephp outdated, #9239 and #9241 #9622
2 parents 2cc3170 + 08badb4 commit a87e0ad

File tree

6 files changed

+3
-282
lines changed

6 files changed

+3
-282
lines changed

dev/tests/integration/testsuite/Magento/Framework/Profiler/Driver/Standard/Output/FirebugTest.php

Lines changed: 0 additions & 97 deletions
This file was deleted.

lib/internal/Magento/Framework/Profiler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,14 +349,15 @@ public static function applyConfig($config, $baseDir, $isAjax = false)
349349
* @param bool $isAjax
350350
* @return array
351351
* @SuppressWarnings(PHPMD.NPathComplexity)
352+
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
352353
*/
353354
protected static function _parseConfig($profilerConfig, $baseDir, $isAjax)
354355
{
355356
$config = ['baseDir' => $baseDir, 'tagFilters' => []];
356357

357358
if (is_scalar($profilerConfig)) {
358359
$config['drivers'] = [
359-
['output' => $isAjax ? 'firebug' : (is_numeric($profilerConfig) ? 'html' : $profilerConfig)],
360+
['output' => is_numeric($profilerConfig) ? 'html' : $profilerConfig],
360361
];
361362
} else {
362363
$config = array_merge($config, $profilerConfig);

lib/internal/Magento/Framework/Profiler/Driver/Standard/Output/Firebug.php

Lines changed: 0 additions & 131 deletions
This file was deleted.

lib/internal/Magento/Framework/Profiler/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ Features:
55
* Measures memory usage
66
* Allows nesting of events and enforces its integrity, and measures aggregated stats of nested elements
77
* Allows configuring filters for tags
8-
* Provides various output formats out of the box: direct HTML output, CSV-file, Firebug console
8+
* Provides various output formats out of the box: direct HTML output and CSV-file

lib/internal/Magento/Framework/Profiler/Test/Unit/Driver/Standard/Output/FirebugTest.php

Lines changed: 0 additions & 42 deletions
This file was deleted.

lib/internal/Magento/Framework/Test/Unit/ProfilerTest.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -395,16 +395,6 @@ public function parseConfigDataProvider()
395395
'baseDir' => null
396396
],
397397
],
398-
'Ajax call' => [
399-
1,
400-
true,
401-
[
402-
'driverConfigs' => [['output' => 'firebug']],
403-
'driverFactory' => $driverFactory,
404-
'tagFilters' => [],
405-
'baseDir' => ''
406-
],
407-
],
408398
'Non ajax call' => [
409399
1,
410400
false,

0 commit comments

Comments
 (0)