Passed
Pull Request — master (#162)
by Jérémy
03:42 queued 01:25
created
NewRelic/NewRelicInteractorInterface.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.
NewRelic/BlackholeInteractor.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.
NewRelic/NewRelicInteractor.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/EkinoNewRelicExtensionTest.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/BundleInitializationTest.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.
NewRelic/Config.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/RequestListener.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.
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
         }
38 38
         $this->isRegistered = true;
39 39
 
40
-        $prevErrorHandler = set_error_handler(function ($type, $msg, $file, $line, $context = []) use (&$prevErrorHandler) {
40
+        $prevErrorHandler = set_error_handler(function($type, $msg, $file, $line, $context = []) use (&$prevErrorHandler) {
41 41
             if (E_USER_DEPRECATED === $type) {
42 42
                 $this->interactor->noticeThrowable(new DeprecationException($msg, 0, $type, $file, $line));
43 43
             }
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.
@@ -82,10 +82,10 @@  discard block
 block discarded – undo
82 82
 
83 83
         // send parameters to New Relic
84 84
         foreach ($input->getOptions() as $key => $value) {
85
-            $key = '--'.$key;
85
+            $key = '--' . $key;
86 86
             if (is_array($value)) {
87 87
                 foreach ($value as $k => $v) {
88
-                    $this->interactor->addCustomParameter($key.'['.$k.']', $v);
88
+                    $this->interactor->addCustomParameter($key . '[' . $k . ']', $v);
89 89
                 }
90 90
             } else {
91 91
                 $this->interactor->addCustomParameter($key, $value);
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         foreach ($input->getArguments() as $key => $value) {
96 96
             if (is_array($value)) {
97 97
                 foreach ($value as $k => $v) {
98
-                    $this->interactor->addCustomParameter($key.'['.$k.']', $v);
98
+                    $this->interactor->addCustomParameter($key . '[' . $k . ']', $v);
99 99
                 }
100 100
             } else {
101 101
                 $this->interactor->addCustomParameter($key, $value);
Please login to merge, or discard this patch.