tidy unused vars
This commit is contained in:
parent
e8ef5f535c
commit
8f41a5583b
@ -10,8 +10,6 @@ use \JHodges\GiteaBot\Client;
|
|||||||
|
|
||||||
final class PostFailedTests{
|
final class PostFailedTests{
|
||||||
|
|
||||||
private $fails=[];
|
|
||||||
private $client=null;
|
|
||||||
private $repo=null;
|
private $repo=null;
|
||||||
|
|
||||||
function __construct($xml_path){
|
function __construct($xml_path){
|
||||||
@ -22,8 +20,8 @@ final class PostFailedTests{
|
|||||||
if(!$url) return;
|
if(!$url) return;
|
||||||
|
|
||||||
// open connection and repo
|
// open connection and repo
|
||||||
$this->client=new Client($url, $user, $pass, true);
|
$client=new Client($url, $user, $pass, true);
|
||||||
$this->repo=$this->client->getRepo($repoUser, $repo);
|
$this->repo=$client->getRepo($repoUser, $repo);
|
||||||
|
|
||||||
$this->process($this->xml);
|
$this->process($this->xml);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user