mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-23 23:25:00 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -11,7 +11,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Chill\MainBundle\Test;
|
||||
|
||||
use LogicException;
|
||||
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
|
||||
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
|
||||
|
||||
@@ -26,15 +25,14 @@ trait PrepareClientTrait
|
||||
* @param string $username the username (default 'center a_social')
|
||||
* @param string $password the password (default 'password')
|
||||
*
|
||||
* @throws LogicException
|
||||
* @throws \LogicException
|
||||
*/
|
||||
public function getClientAuthenticated(
|
||||
$username = 'center a_social',
|
||||
$password = 'password'
|
||||
): KernelBrowser {
|
||||
if (!$this instanceof WebTestCase) {
|
||||
throw new LogicException(sprintf('The current class does not '
|
||||
. 'implements %s', WebTestCase::class));
|
||||
throw new \LogicException(sprintf('The current class does not implements %s', WebTestCase::class));
|
||||
}
|
||||
|
||||
return static::createClient([], [
|
||||
|
Reference in New Issue
Block a user