Passed
Pull Request — master (#162)
by Jérémy
03:42 queued 01:25
created
Logging/AdaptiveHandler.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/Twig/NewRelicExtensionTest.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/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/DeprecationListenerTest.php 1 patch
Spacing   +5 added lines, -5 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.
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
         $listener = new DeprecationListener($interactor);
29 29
 
30
-        set_error_handler(function () { return false; });
30
+        set_error_handler(function() { return false; });
31 31
         try {
32 32
             $listener->register();
33 33
             @trigger_error('This is a deprecation', E_USER_DEPRECATED);
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
         $listener = new DeprecationListener($interactor);
46 46
 
47
-        set_error_handler(function () { return false; });
47
+        set_error_handler(function() { return false; });
48 48
         $e = error_reporting(0);
49 49
         try {
50 50
             $listener->register();
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 
64 64
         $listener = new DeprecationListener($interactor);
65 65
 
66
-        set_error_handler(function () { return false; });
66
+        set_error_handler(function() { return false; });
67 67
         try {
68 68
             $listener->register();
69 69
             @trigger_error('This is a notice', E_USER_NOTICE);
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
         $listener = new DeprecationListener($interactor);
102 102
 
103
-        set_error_handler(function () { return false; });
103
+        set_error_handler(function() { return false; });
104 104
         try {
105 105
             $listener->register();
106 106
             $listener->unregister();
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/CommandListenerTest.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.