resolving phpcs errors

This commit is contained in:
NASDAMI Quatadah 2022-06-09 13:29:02 +02:00
parent 7b3fe948a0
commit ef8b041ac6

View File

@ -264,10 +264,8 @@ class UserTest extends PHPUnit\Framework\TestCase
/** /**
* testUserHasRight * testUserHasRight
* *
* @param User $localobject User * @return void
* @return void */
*/
public function testUserHasRight() public function testUserHasRight()
{ {
global $conf,$user,$langs,$db; global $conf,$user,$langs,$db;
@ -275,7 +273,6 @@ class UserTest extends PHPUnit\Framework\TestCase
$user=$this->savuser; $user=$this->savuser;
$langs=$this->savlangs; $langs=$this->savlangs;
$db=$this->savdb; $db=$this->savdb;
/*$result=$localobject->setstatus(0); /*$result=$localobject->setstatus(0);
print __METHOD__." id=".$localobject->id." result=".$result."\n"; print __METHOD__." id=".$localobject->id." result=".$result."\n";
$this->assertLessThan($result, 0); $this->assertLessThan($result, 0);