Fixed code style.

This commit is contained in:
Jan Böhmer 2020-01-04 20:24:09 +01:00
parent 1aed1d1d26
commit 9a7223a301
142 changed files with 534 additions and 716 deletions

View file

@ -27,7 +27,7 @@ use PHPUnit\Framework\TestCase;
class BackupCodeGeneratorTest extends TestCase
{
/**
* Test if an exception is thrown if you are using a too high code length
* Test if an exception is thrown if you are using a too high code length.
*/
public function testLengthUpperLimit()
{
@ -36,7 +36,7 @@ class BackupCodeGeneratorTest extends TestCase
}
/**
* Test if an exception is thrown if you are using a too high code length
* Test if an exception is thrown if you are using a too high code length.
*/
public function testLengthLowerLimit()
{
@ -44,7 +44,6 @@ class BackupCodeGeneratorTest extends TestCase
new BackupCodeGenerator(4, 10);
}
public function codeLengthDataProvider()
{
return [[6], [8], [10], [16]];

View file

@ -21,7 +21,6 @@
namespace App\Tests\Services\TFA;
use App\Entity\UserSystem\U2FKey;
use App\Entity\UserSystem\User;
use App\Services\TFA\BackupCodeManager;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
@ -29,7 +28,7 @@ use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class BackupCodeManagerTest extends WebTestCase
{
/**
* @var BackupCodeManager $service
* @var BackupCodeManager
*/
protected $service;