Passed
Branch feature/add-git-subsplit-to-in... (258bb9)
by Joel
02:17
created
Category
package/Tests/EventListener/RequestResponseListenerTest.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,8 +85,7 @@  discard block
 block discarded – undo
85 85
         // find fake_agent location
86 86
         $parentFolder = substr(__DIR__, -27, -20);
87 87
         $fakeAgent = ('package' === $parentFolder) ?
88
-            __DIR__ . '/../../../../sdk/src/Resources/fake_agent.php' :
89
-            './redirectionio-sdk/src/Resources/fake_agent.php';
88
+            __DIR__ . '/../../../../sdk/src/Resources/fake_agent.php' : './redirectionio-sdk/src/Resources/fake_agent.php';
90 89
 
91 90
         $agent = new Process([$binary, $fakeAgent]);
92 91
         $agent
@@ -101,7 +100,7 @@  discard block
 block discarded – undo
101 100
             throw new ProcessFailedException($agent);
102 101
         }
103 102
 
104
-        register_shutdown_function(function () use ($agent) {
103
+        register_shutdown_function(function() use ($agent) {
105 104
             $agent->stop();
106 105
         });
107 106
 
Please login to merge, or discard this patch.