Passed
Push — master ( 665b08...6b0f3f )
by Michael
03:42
created
src/Clients/CodebaseClient.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,12 +10,12 @@
 block discarded – undo
10 10
     protected $curl;
11 11
     protected $codebaseProjectName;
12 12
     protected $repositoryName;
13
-	protected $headers = [
13
+    protected $headers = [
14 14
         'Accept' => 'application/xml',
15 15
         'Content-type' => 'application/xml',
16 16
     ];
17 17
 
18
-	const WEBSERVICE_URL = 'http://api3.codebasehq.com/';
18
+    const WEBSERVICE_URL = 'http://api3.codebasehq.com/';
19 19
 
20 20
     public function __construct(Curl $curl, $username, $password, $codebaseProjectName, $repositoryName = null)
21 21
     {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,7 @@
 block discarded – undo
40 40
 
41 41
         if ($this->curl->error) {
42 42
             return [];
43
-        }
44
-        else {
43
+        } else {
45 44
             $tickets = simplexml_load_string($this->curl->response);
46 45
             $completed_ticket_names = [];
47 46
             foreach($tickets as $ticket) {
Please login to merge, or discard this patch.