Completed
Push — master ( 8d2d32...17c140 )
by Tobias
06:30
created
Listener/ResponseListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,11 +88,11 @@
 block discarded – undo
88 88
                     $response->setContent(''); // free the memory
89 89
 
90 90
                     if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isHeaderCalled()) {
91
-                        $responseContent = \preg_replace('|<head>|i', '$0'.$this->interactor->getBrowserTimingHeader(), $responseContent);
91
+                        $responseContent = \preg_replace('|<head>|i', '$0' . $this->interactor->getBrowserTimingHeader(), $responseContent);
92 92
                     }
93 93
 
94 94
                     if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isFooterCalled()) {
95
-                        $responseContent = \preg_replace('|</body>|i', $this->interactor->getBrowserTimingFooter().'$0', $responseContent);
95
+                        $responseContent = \preg_replace('|</body>|i', $this->interactor->getBrowserTimingFooter() . '$0', $responseContent);
96 96
                     }
97 97
 
98 98
                     $response->setContent($responseContent);
Please login to merge, or discard this patch.
DependencyInjection/Configuration.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@  discard block
 block discarded – undo
38 38
                     ->prototype('scalar')
39 39
                     ->end()
40 40
                     ->beforeNormalization()
41
-                        ->ifTrue(function ($v) { return !\is_array($v); })
42
-                        ->then(function ($v) { return \array_values(\array_filter(\explode(';', (string) $v))); })
41
+                        ->ifTrue(function($v) { return !\is_array($v); })
42
+                        ->then(function($v) { return \array_values(\array_filter(\explode(';', (string) $v))); })
43 43
                     ->end()
44 44
                 ->end()
45 45
                 ->scalarNode('xmit')->defaultValue(false)->end()
@@ -57,8 +57,8 @@  discard block
 block discarded – undo
57 57
                             ->prototype('scalar')
58 58
                             ->end()
59 59
                             ->beforeNormalization()
60
-                                ->ifTrue(function ($v) { return !\is_array($v); })
61
-                                ->then(function ($v) { return (array) $v; })
60
+                                ->ifTrue(function($v) { return !\is_array($v); })
61
+                                ->then(function($v) { return (array) $v; })
62 62
                             ->end()
63 63
                         ->end()
64 64
                     ->end()
@@ -81,16 +81,16 @@  discard block
 block discarded – undo
81 81
                             ->prototype('scalar')
82 82
                             ->end()
83 83
                             ->beforeNormalization()
84
-                                ->ifTrue(function ($v) { return !\is_array($v); })
85
-                                ->then(function ($v) { return (array) $v; })
84
+                                ->ifTrue(function($v) { return !\is_array($v); })
85
+                                ->then(function($v) { return (array) $v; })
86 86
                             ->end()
87 87
                         ->end()
88 88
                         ->arrayNode('ignored_paths')
89 89
                             ->prototype('scalar')
90 90
                             ->end()
91 91
                             ->beforeNormalization()
92
-                                ->ifTrue(function ($v) { return !\is_array($v); })
93
-                                ->then(function ($v) { return (array) $v; })
92
+                                ->ifTrue(function($v) { return !\is_array($v); })
93
+                                ->then(function($v) { return (array) $v; })
94 94
                             ->end()
95 95
                         ->end()
96 96
                         ->scalarNode('using_symfony_cache')->defaultFalse()->end()
@@ -107,18 +107,18 @@  discard block
 block discarded – undo
107 107
                             ->canBeUnset()
108 108
                             ->beforeNormalization()
109 109
                                 ->ifString()
110
-                                ->then(function ($v) { return ['elements' => [$v]]; })
110
+                                ->then(function($v) { return ['elements' => [$v]]; })
111 111
                             ->end()
112 112
                             ->beforeNormalization()
113
-                                ->ifTrue(function ($v) { return \is_array($v) && \is_numeric(\key($v)); })
114
-                                ->then(function ($v) { return ['elements' => $v]; })
113
+                                ->ifTrue(function($v) { return \is_array($v) && \is_numeric(\key($v)); })
114
+                                ->then(function($v) { return ['elements' => $v]; })
115 115
                             ->end()
116 116
                             ->validate()
117
-                                ->ifTrue(function ($v) { return empty($v); })
117
+                                ->ifTrue(function($v) { return empty($v); })
118 118
                                 ->thenUnset()
119 119
                             ->end()
120 120
                             ->validate()
121
-                                ->always(function ($v) {
121
+                                ->always(function($v) {
122 122
                                     $isExclusive = null;
123 123
                                     if (isset($v['type'])) {
124 124
                                         $isExclusive = 'exclusive' === $v['type'];
Please login to merge, or discard this patch.