Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
use strict types for every file
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Thole <marcel@marcelthole.de>
  • Loading branch information
marcelthole committed Jul 16, 2024
1 parent ceab630 commit 58d19b7
Show file tree
Hide file tree
Showing 71 changed files with 71 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/BlockCipher.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt;

Expand Down
1 change: 1 addition & 0 deletions src/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Exception/NotFoundException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/FileCipher.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt;

Expand Down
1 change: 1 addition & 0 deletions src/Hash.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt;

Expand Down
1 change: 1 addition & 0 deletions src/Hmac.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt;

Expand Down
1 change: 1 addition & 0 deletions src/Hybrid.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt;

Expand Down
1 change: 1 addition & 0 deletions src/Key/Derivation/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Key\Derivation\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Key/Derivation/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Key\Derivation\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Key/Derivation/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Key\Derivation\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Key/Derivation/Pbkdf2.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Key\Derivation;

Expand Down
1 change: 1 addition & 0 deletions src/Key/Derivation/SaltedS2k.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Key\Derivation;

Expand Down
1 change: 1 addition & 0 deletions src/Key/Derivation/Scrypt.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Key\Derivation;

Expand Down
1 change: 1 addition & 0 deletions src/Password/Apache.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Password;

Expand Down
1 change: 1 addition & 0 deletions src/Password/Bcrypt.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Password;

Expand Down
1 change: 1 addition & 0 deletions src/Password/BcryptSha.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Password;

Expand Down
1 change: 1 addition & 0 deletions src/Password/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Password\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Password/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Password\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Password/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Password\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Password/PasswordInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Password;

Expand Down
1 change: 1 addition & 0 deletions src/PublicKey/DiffieHellman.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\PublicKey;

Expand Down
1 change: 1 addition & 0 deletions src/PublicKey/Rsa.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\PublicKey;

Expand Down
1 change: 1 addition & 0 deletions src/PublicKey/Rsa/AbstractKey.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\PublicKey\Rsa;

Expand Down
1 change: 1 addition & 0 deletions src/PublicKey/Rsa/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\PublicKey\Rsa\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/PublicKey/Rsa/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\PublicKey\Rsa\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/PublicKey/Rsa/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\PublicKey\Rsa\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/PublicKey/Rsa/PrivateKey.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\PublicKey\Rsa;

Expand Down
1 change: 1 addition & 0 deletions src/PublicKey/Rsa/PublicKey.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\PublicKey\Rsa;

Expand Down
1 change: 1 addition & 0 deletions src/PublicKey/RsaOptions.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\PublicKey;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/Exception/ExceptionInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/Exception/InvalidArgumentException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/Exception/NotFoundException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/Exception/RuntimeException.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric\Exception;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/Mcrypt.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/Openssl.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/Padding/NoPadding.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric\Padding;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/Padding/PaddingInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric\Padding;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/Padding/Pkcs7.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric\Padding;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/PaddingPluginManager.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric;

Expand Down
1 change: 1 addition & 0 deletions src/Symmetric/SymmetricInterface.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt\Symmetric;

Expand Down
1 change: 1 addition & 0 deletions src/SymmetricPluginManager.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt;

Expand Down
1 change: 1 addition & 0 deletions src/Utils.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace Laminas\Crypt;

Expand Down
1 change: 1 addition & 0 deletions test/BlockCipher/AbstractBlockCipherTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\BlockCipher;

Expand Down
1 change: 1 addition & 0 deletions test/BlockCipher/OpensslAeadTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\BlockCipher;

Expand Down
1 change: 1 addition & 0 deletions test/BlockCipher/OpensslTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\BlockCipher;

Expand Down
1 change: 1 addition & 0 deletions test/FileCipher/AbstractFileCipherTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\FileCipher;

Expand Down
1 change: 1 addition & 0 deletions test/FileCipher/OpensslTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\FileCipher;

Expand Down
1 change: 1 addition & 0 deletions test/HashTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt;

Expand Down
1 change: 1 addition & 0 deletions test/HmacTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt;

Expand Down
1 change: 1 addition & 0 deletions test/HybridTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt;

Expand Down
1 change: 1 addition & 0 deletions test/Key/Derivation/Pbkdf2Test.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Key\Derivation;

Expand Down
1 change: 1 addition & 0 deletions test/Key/Derivation/SaltedS2kTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Key\Derivation;

Expand Down
1 change: 1 addition & 0 deletions test/Key/Derivation/ScryptTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Key\Derivation;

Expand Down
1 change: 1 addition & 0 deletions test/Password/ApacheTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Password;

Expand Down
1 change: 1 addition & 0 deletions test/Password/BcryptBCTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Password;

Expand Down
1 change: 1 addition & 0 deletions test/Password/BcryptShaTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Password;

Expand Down
1 change: 1 addition & 0 deletions test/Password/BcryptTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Password;

Expand Down
1 change: 1 addition & 0 deletions test/PublicKey/DiffieHellmanTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\PublicKey;

Expand Down
1 change: 1 addition & 0 deletions test/PublicKey/RsaTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\PublicKey;

Expand Down
1 change: 1 addition & 0 deletions test/Symmetric/AbstractTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Symmetric;

Expand Down
1 change: 1 addition & 0 deletions test/Symmetric/McryptDeprecatedTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Symmetric;

Expand Down
1 change: 1 addition & 0 deletions test/Symmetric/OpensslAeadTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Symmetric;

Expand Down
1 change: 1 addition & 0 deletions test/Symmetric/OpensslTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Symmetric;

Expand Down
1 change: 1 addition & 0 deletions test/Symmetric/Padding/NoPaddingTest.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);

namespace LaminasTest\Crypt\Symmetric\Padding;

Expand Down
Loading

0 comments on commit 58d19b7

Please sign in to comment.