Completed
Push — master ( ea365c...57ff5a )
by Luca
05:17 queued 02:40
created
src/Dispatcher/Dispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
         $server_output = curl_exec($ch);
71 71
         $info = curl_getinfo($ch);
72
-        curl_close ($ch);
72
+        curl_close($ch);
73 73
 
74 74
         $response = false;
75 75
         if ($info['http_code'] == 200 || $info['http_code'] == 201) {
Please login to merge, or discard this patch.
src/Dispatcher/Method.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -24,20 +24,20 @@
 block discarded – undo
24 24
     /**
25 25
      * Receive a read-only data
26 26
      */
27
-    const GET       = 'GET';
27
+    const GET = 'GET';
28 28
 
29 29
     /**
30 30
      * Overwrite an existing resource
31 31
      */
32
-    const POST      = 'POST';
32
+    const POST = 'POST';
33 33
 
34 34
     /**
35 35
      * Creates a new resource
36 36
      */
37
-    const PUT       = 'PUT';
37
+    const PUT = 'PUT';
38 38
 
39 39
     /**
40 40
      * Deletes the given resource
41 41
      */
42
-    const DELETE    = 'DELETE';
42
+    const DELETE = 'DELETE';
43 43
 }
Please login to merge, or discard this patch.
src/Settings/Settings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * Default Settings
27 27
      * Edit this section to configure your client
28 28
      */
29
-    const PLUGIN_PATH   = '/plugins/restapi/v1';
29
+    const PLUGIN_PATH = '/plugins/restapi/v1';
30 30
 
31 31
     /**
32 32
      * @var Settings
Please login to merge, or discard this patch.
tests/Settings/SubscriptionTypeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->assertFalse(SubscriptionType::isValid(4));
35 35
         $this->assertFalse(SubscriptionType::isValid(-1));
36 36
         $this->assertFalse(SubscriptionType::isValid('test'));
37
-        $this->assertFalse(SubscriptionType::isValid(array(1,2)));
37
+        $this->assertFalse(SubscriptionType::isValid(array(1, 2)));
38 38
         $this->assertFalse(SubscriptionType::isValid(true));
39 39
     }
40 40
 }
41 41
\ No newline at end of file
Please login to merge, or discard this patch.