Skip to content

Commit

Permalink
🚿 declare strict types
Browse files Browse the repository at this point in the history
(cherry picked from commit b5a6b43)
  • Loading branch information
codemasher committed Jun 17, 2024
1 parent 2ca5367 commit a810450
Show file tree
Hide file tree
Showing 21 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Authenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2015 Smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator;

Expand Down
1 change: 1 addition & 0 deletions src/AuthenticatorOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2019 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator;

Expand Down
1 change: 1 addition & 0 deletions src/AuthenticatorOptionsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2019 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator;

Expand Down
1 change: 1 addition & 0 deletions src/Authenticators/AuthenticatorAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions src/Authenticators/AuthenticatorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions src/Authenticators/HOTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions src/Authenticators/SteamGuard.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
*
* @noinspection PhpComposerExtensionStubsInspection
*/
declare(strict_types=1);

namespace chillerlan\Authenticator\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions src/Authenticators/TOTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions src/Common/Base32.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator\Common;

Expand Down
1 change: 1 addition & 0 deletions src/Common/Base64.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator\Common;

Expand Down
1 change: 1 addition & 0 deletions src/Common/Hex.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\Authenticator\Common;

Expand Down
1 change: 1 addition & 0 deletions tests/AuthenticatorOptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2019 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest;

Expand Down
1 change: 1 addition & 0 deletions tests/AuthenticatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2015 Smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions tests/Authenticators/BattleNetTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions tests/Authenticators/HOTPTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions tests/Authenticators/SteamGuardTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions tests/Authenticators/TOTPTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest\Authenticators;

Expand Down
1 change: 1 addition & 0 deletions tests/Common/Base32Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2016 Smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest\Common;

Expand Down
1 change: 1 addition & 0 deletions tests/Common/Base64Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest\Common;

Expand Down
1 change: 1 addition & 0 deletions tests/Common/HexTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* @copyright 2023 smiley
* @license MIT
*/
declare(strict_types=1);

namespace chillerlan\AuthenticatorTest\Common;

Expand Down

0 comments on commit a810450

Please sign in to comment.