@@ -85,8 +85,7 @@ discard block |
||
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 |
||
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 |