for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ParityBit\DeploymentNotifier\Clients;
use ParityBit\DeploymentNotifier\Deployment;
class CodebaseClient
{
protected $username;
protected $password;
protected $headers = [
'Accept: application/xml',
'Content-type: application/xml',
];
const endpoint = 'http://api3.codebasehq.com/';
public function __construct($username, $password)
$this->username = $username;
$this->password = $password;
}
public function getTicketsFromIds($ticketIds = [])
$ticketIds
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
public function updateTicketStatus($project, $ticketId, $newStatus)
$project
$ticketId
$newStatus
public function registerDeployment(Deployment $deployment)
$deployment
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.