mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-18 03:33:26 +02:00
* updated Twig to the latest version in 1.x series (v1.35.0)
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* This file is part of Twig.
|
||||
*
|
||||
* (c) 2015 Fabien Potencier
|
||||
* (c) Fabien Potencier
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
@@ -11,6 +11,8 @@
|
||||
|
||||
/**
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* @final
|
||||
*/
|
||||
class Twig_Profiler_Dumper_Blackfire
|
||||
{
|
||||
@@ -20,7 +22,7 @@ class Twig_Profiler_Dumper_Blackfire
|
||||
$this->dumpProfile('main()', $profile, $data);
|
||||
$this->dumpChildren('main()', $profile, $data);
|
||||
|
||||
$start = microtime(true);
|
||||
$start = sprintf('%f', microtime(true));
|
||||
$str = <<<EOF
|
||||
file-format: BlackfireProbe
|
||||
cost-dimensions: wt mu pmu
|
||||
@@ -66,3 +68,5 @@ EOF;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
class_alias('Twig_Profiler_Dumper_Blackfire', 'Twig\Profiler\Dumper\BlackfireDumper', false);
|
||||
|
Reference in New Issue
Block a user