@@ -89,7 +89,7 @@ |
||
| 89 | 89 | |
| 90 | 90 | public function stop() |
| 91 | 91 | { |
| 92 | - $this->storage['tags'] = $this->tags; |
|
| 92 | + $this->storage['tags'] = $this->tags; |
|
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | } |
@@ -21,9 +21,9 @@ |
||
| 21 | 21 | |
| 22 | 22 | $storage = new \ArrayObject(); |
| 23 | 23 | |
| 24 | - $app = new ApplicationEmulator(); |
|
| 24 | + $app = new ApplicationEmulator(); |
|
| 25 | 25 | $app |
| 26 | - ->register(new TwigServiceProvider(),array( |
|
| 26 | + ->register(new TwigServiceProvider(), array( |
|
| 27 | 27 | 'twig.templates' => array('hello' => 'Hello {{ name }}!'), |
| 28 | 28 | )) |
| 29 | 29 | ->register(new SilexPinbaProvider()); |
@@ -35,15 +35,15 @@ discard block |
||
| 35 | 35 | $app['intaro_pinba.script_name_configure.enable'] = true; |
| 36 | 36 | |
| 37 | 37 | |
| 38 | - $app['intaro_pinba.script_name_configure.listener'] = function () use ($app) { |
|
| 38 | + $app['intaro_pinba.script_name_configure.listener'] = function() use ($app) { |
|
| 39 | 39 | return new $app['intaro_pinba.script_name_configure.class']; |
| 40 | 40 | }; |
| 41 | 41 | |
| 42 | - $app['intaro_pinba.stopwatch'] = function () use ($app) { |
|
| 42 | + $app['intaro_pinba.stopwatch'] = function() use ($app) { |
|
| 43 | 43 | return new $app['intaro_pinba.stopwatch.class']; |
| 44 | 44 | }; |
| 45 | 45 | |
| 46 | - $app['doctrine.dbal.logger'] = function () use ($app) { |
|
| 46 | + $app['doctrine.dbal.logger'] = function() use ($app) { |
|
| 47 | 47 | /** |
| 48 | 48 | * @see \Intaro\PinbaBundle\Logger\DbalLogger |
| 49 | 49 | */ |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | return new $className($app["intaro_pinba.stopwatch"], $host); |
| 53 | 53 | }; |
| 54 | 54 | |
| 55 | - $app['dbs.config'] = function ($app) { |
|
| 55 | + $app['dbs.config'] = function($app) { |
|
| 56 | 56 | $app['dbs.options.initializer'](); |
| 57 | 57 | |
| 58 | 58 | $configs = new Container(); |
@@ -78,7 +78,7 @@ discard block |
||
| 78 | 78 | */ |
| 79 | 79 | public function boot(Application $app) |
| 80 | 80 | { |
| 81 | - $app['twig'] = $app->extend('twig', function (\Twig_Environment $twig) use ($app) { |
|
| 81 | + $app['twig'] = $app->extend('twig', function(\Twig_Environment $twig) use ($app) { |
|
| 82 | 82 | /** |
| 83 | 83 | * @see \Intaro\PinbaBundle\Twig\TimedTwigEngine |
| 84 | 84 | */ |