for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the KleijnWeb\SwaggerBundle package.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace KleijnWeb\SwaggerBundle\Tests\Functional\PetStore\Controller;
/**
* @author John Kleijn <[email protected]>
class UserController
{
* @SuppressWarnings(PHPMD.UnusedFormalParameter)
* @param string $username
* @param string $password
* @return array
public function loginUser($username, $password)
$username
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$password
return uniqid();
}
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.