Completed
Push — master ( e304a1...da9ebc )
by Jérémy
10s
created
Tests/DependencyInjection/Compiler/MonologHandlerPassTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Ekino New Relic bundle.
Please login to merge, or discard this patch.
Tests/DependencyInjection/ConfigurationTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Ekino New Relic bundle.
Please login to merge, or discard this patch.
Tests/Listener/ResponseListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Ekino New Relic bundle.
Please login to merge, or discard this patch.
Tests/Listener/RequestListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Ekino New Relic bundle.
Please login to merge, or discard this patch.
Tests/TransactionNamingStrategy/ControllerNamingStrategyTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Ekino New Relic bundle.
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
     public function testControllerAsClosure()
31 31
     {
32 32
         $request = new Request();
33
-        $request->attributes->set('_controller', function () {
33
+        $request->attributes->set('_controller', function() {
34 34
         });
35 35
 
36 36
         $strategy = new ControllerNamingStrategy();
Please login to merge, or discard this patch.
Tests/NewRelic/ConfigTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Ekino New Relic bundle.
Please login to merge, or discard this patch.
Listener/DeprecationListener.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Ekino New Relic bundle.
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         }
34 34
         $this->isRegistered = true;
35 35
 
36
-        $prevErrorHandler = \set_error_handler(function ($type, $msg, $file, $line, $context = []) use (&$prevErrorHandler) {
36
+        $prevErrorHandler = \set_error_handler(function($type, $msg, $file, $line, $context = []) use (&$prevErrorHandler) {
37 37
             if (E_USER_DEPRECATED === $type) {
38 38
                 $this->interactor->noticeThrowable(new DeprecationException($msg, 0, $type, $file, $line));
39 39
             }
Please login to merge, or discard this patch.
Listener/CommandListener.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Ekino New Relic bundle.
@@ -61,10 +61,10 @@  discard block
 block discarded – undo
61 61
 
62 62
         // send parameters to New Relic
63 63
         foreach ($input->getOptions() as $key => $value) {
64
-            $key = '--'.$key;
64
+            $key = '--' . $key;
65 65
             if (\is_array($value)) {
66 66
                 foreach ($value as $k => $v) {
67
-                    $this->interactor->addCustomParameter($key.'['.$k.']', $v);
67
+                    $this->interactor->addCustomParameter($key . '[' . $k . ']', $v);
68 68
                 }
69 69
             } else {
70 70
                 $this->interactor->addCustomParameter($key, $value);
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         foreach ($input->getArguments() as $key => $value) {
75 75
             if (\is_array($value)) {
76 76
                 foreach ($value as $k => $v) {
77
-                    $this->interactor->addCustomParameter($key.'['.$k.']', $v);
77
+                    $this->interactor->addCustomParameter($key . '[' . $k . ']', $v);
78 78
                 }
79 79
             } else {
80 80
                 $this->interactor->addCustomParameter($key, $value);
Please login to merge, or discard this patch.
Listener/ResponseListener.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 /*
6 6
  * This file is part of Ekino New Relic bundle.
@@ -87,11 +87,11 @@  discard block
 block discarded – undo
87 87
                     $responseContent = $response->getContent();
88 88
 
89 89
                     if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isHeaderCalled()) {
90
-                        $responseContent = \preg_replace('/<\s*head\s*>/', '$0'.$this->interactor->getBrowserTimingHeader(), $responseContent);
90
+                        $responseContent = \preg_replace('/<\s*head\s*>/', '$0' . $this->interactor->getBrowserTimingHeader(), $responseContent);
91 91
                     }
92 92
 
93 93
                     if (null === $this->newRelicTwigExtension || false === $this->newRelicTwigExtension->isFooterCalled()) {
94
-                        $responseContent = \preg_replace('/<\s*\/\s*body\s*>/', $this->interactor->getBrowserTimingFooter().'$0', $responseContent);
94
+                        $responseContent = \preg_replace('/<\s*\/\s*body\s*>/', $this->interactor->getBrowserTimingFooter() . '$0', $responseContent);
95 95
                     }
96 96
 
97 97
                     if ($responseContent) {
Please login to merge, or discard this patch.