Skip to content

Commit 45abec7

Browse files
authored
SF7, other deps and code refactoring (#493)
SF7 and code refactoring
1 parent 57de23f commit 45abec7

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

ContentEncryption/AESCCM.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace Jose\Component\Encryption\Algorithm\ContentEncryption;
66

77
use Jose\Component\Encryption\Algorithm\ContentEncryptionAlgorithm;
8-
use const OPENSSL_RAW_DATA;
98
use RuntimeException;
9+
use const OPENSSL_RAW_DATA;
1010

1111
abstract class AESCCM implements ContentEncryptionAlgorithm
1212
{

KeyEncryption/AESCTR.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
namespace Jose\Component\Encryption\Algorithm\KeyEncryption;
66

7-
use function in_array;
87
use InvalidArgumentException;
9-
use function is_string;
108
use Jose\Component\Core\JWK;
11-
use const OPENSSL_RAW_DATA;
129
use ParagonIE\ConstantTime\Base64UrlSafe;
1310
use RuntimeException;
11+
use function in_array;
12+
use function is_string;
13+
use const OPENSSL_RAW_DATA;
1414

1515
abstract class AESCTR implements KeyEncryption
1616
{

KeyEncryption/Chacha20Poly1305.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44

55
namespace Jose\Component\Encryption\Algorithm\KeyEncryption;
66

7-
use function in_array;
87
use InvalidArgumentException;
9-
use function is_string;
108
use Jose\Component\Core\JWK;
119
use LogicException;
12-
use const OPENSSL_RAW_DATA;
1310
use ParagonIE\ConstantTime\Base64UrlSafe;
1411
use RuntimeException;
12+
use function in_array;
13+
use function is_string;
14+
use const OPENSSL_RAW_DATA;
1515

1616
final class Chacha20Poly1305 implements KeyEncryption
1717
{

0 commit comments

Comments
 (0)