1 | <?php |
||
7 | class CodebaseClient |
||
8 | { |
||
9 | protected $username; |
||
10 | protected $password; |
||
11 | protected $headers = [ |
||
12 | 'Accept: application/xml', |
||
13 | 'Content-type: application/xml', |
||
14 | ]; |
||
15 | |||
16 | const endpoint = 'http://api3.codebasehq.com/'; |
||
17 | |||
18 | public function __construct($username, $password) |
||
23 | |||
24 | public function getTicketsFromIds($ticketIds = []) |
||
28 | |||
29 | public function updateTicketStatus($project, $ticketId, $newStatus) |
||
33 | |||
34 | public function registerDeployment(Deployment $deployment) |
||
38 | } |
||
39 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.