Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commit f9d3fcd

Browse files
committed
Enforce strict_types declaration via phpcs
1 parent 7961bce commit f9d3fcd

25 files changed

+48
-0
lines changed

Mailer/AuthCodeMailerInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Mailer;
46

57
use Scheb\TwoFactorBundle\Model\Email\TwoFactorInterface;

Model/BackupCodeInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Model;
46

57
interface BackupCodeInterface

Model/Email/TwoFactorInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Model\Email;
46

57
interface TwoFactorInterface

Model/Google/TwoFactorInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Model\Google;
46

57
interface TwoFactorInterface

Model/PersisterInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Model;
46

57
interface PersisterInterface

Model/PreferredProviderInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Model;
46

57
interface PreferredProviderInterface

Model/Totp/TotpConfigurationInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Model\Totp;
46

57
interface TotpConfigurationInterface

Model/Totp/TwoFactorInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Model\Totp;
46

57
interface TwoFactorInterface

Model/TrustedDeviceInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Model;
46

57
interface TrustedDeviceInterface

Security/Authentication/Token/TwoFactorTokenFactoryInterface.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace Scheb\TwoFactorBundle\Security\Authentication\Token;
46

57
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;

0 commit comments

Comments
 (0)