Test Setup Failed
Branch feature/add-git-subsplit-to-in... (c00145)
by Joel
01:21
created
src/RedirectionIOSettingsPage.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
             '<p>' .
48 48
                 __('redirection.io let you track HTTP errors and setup useful HTTP redirections.', 'redirectionio') .
49 49
             '</p><p>' .
50
-               sprintf(__('This plugin works in combination with <a href="%s">redirection.io</a> 
50
+                sprintf(__('This plugin works in combination with <a href="%s">redirection.io</a> 
51 51
                     and need an installed and configured agent on your server.
52 52
                     </br>
53 53
                     Before using it, please make sure that you have :', 'redirectionio'), esc_url('//redirection.io')) .
Please login to merge, or discard this patch.
Tests/RedirectionIOTest.php 1 patch
Spacing   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -128,8 +128,7 @@  discard block
 block discarded – undo
128 128
         // find fake_agent location
129 129
         $parentFolder = substr(__DIR__, -15, -6);
130 130
         $fakeAgent = ('wordpress' === $parentFolder) ?
131
-            __DIR__ . '/../../sdk/src/Resources/fake_agent.php' :
132
-            './sdk/src/Resources/fake_agent.php';
131
+            __DIR__ . '/../../sdk/src/Resources/fake_agent.php' : './sdk/src/Resources/fake_agent.php';
133 132
 
134 133
         $agent = new Process([$binary, $fakeAgent]);
135 134
         $agent
@@ -144,7 +143,7 @@  discard block
 block discarded – undo
144 143
             throw new ProcessFailedException($agent);
145 144
         }
146 145
 
147
-        register_shutdown_function(function () use ($agent) {
146
+        register_shutdown_function(function() use ($agent) {
148 147
             $agent->stop();
149 148
         });
150 149
 
Please login to merge, or discard this patch.