@@ -72,15 +72,15 @@ |
||
72 | 72 | ]; |
73 | 73 | |
74 | 74 | $this->changeInspector = $this->getMockBuilder(ChangeInspector::class) |
75 | - ->disableOriginalConstructor() |
|
76 | - ->setMethods(['getChangesFromDeployment']) |
|
77 | - ->getMock(); |
|
75 | + ->disableOriginalConstructor() |
|
76 | + ->setMethods(['getChangesFromDeployment']) |
|
77 | + ->getMock(); |
|
78 | 78 | $this->changeInspector->expects($this->once()) |
79 | - ->method('getChangesFromDeployment') |
|
80 | - ->with($this->callback(function ($subject) { |
|
81 | - return $subject == $this->deployment; |
|
82 | - })) |
|
83 | - ->will($this->returnValue($changes)); |
|
79 | + ->method('getChangesFromDeployment') |
|
80 | + ->with($this->callback(function ($subject) { |
|
81 | + return $subject == $this->deployment; |
|
82 | + })) |
|
83 | + ->will($this->returnValue($changes)); |
|
84 | 84 | |
85 | 85 | $this->deployment = new Deployment( |
86 | 86 | $this->environment, |
@@ -77,7 +77,7 @@ |
||
77 | 77 | ->getMock(); |
78 | 78 | $this->changeInspector->expects($this->once()) |
79 | 79 | ->method('getChangesFromDeployment') |
80 | - ->with($this->callback(function ($subject) { |
|
80 | + ->with($this->callback(function($subject) { |
|
81 | 81 | return $subject == $this->deployment; |
82 | 82 | })) |
83 | 83 | ->will($this->returnValue($changes)); |
@@ -7,13 +7,13 @@ |
||
7 | 7 | class CodebaseClient |
8 | 8 | { |
9 | 9 | protected $username; |
10 | - protected $password; |
|
11 | - protected $headers = [ |
|
10 | + protected $password; |
|
11 | + protected $headers = [ |
|
12 | 12 | 'Accept: application/xml', |
13 | 13 | 'Content-type: application/xml', |
14 | 14 | ]; |
15 | 15 | |
16 | - const WEBSERVICE_URL = 'http://api3.codebasehq.com/'; |
|
16 | + const WEBSERVICE_URL = 'http://api3.codebasehq.com/'; |
|
17 | 17 | |
18 | 18 | public function __construct($username, $password) |
19 | 19 | { |