Skip to content

Commit 91ec85f

Browse files
committed
CS
1 parent 0dc2d7e commit 91ec85f

File tree

3 files changed

+2
-39
lines changed

3 files changed

+2
-39
lines changed

foo.php

Lines changed: 0 additions & 37 deletions
This file was deleted.

src/Symfony/Bundle/SecurityBundle/Resources/config/security.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
->set('security.role_hierarchy.roles', [])
6464
;
6565

66-
$sodiumInstalled = function_exists('sodium_crypto_box_keypair');
66+
$sodiumInstalled = \function_exists('sodium_crypto_box_keypair');
6767
$phpseclibInstalled = class_exists(AES::class);
6868

6969
$container->services()

src/Symfony/Component/Security/Core/Encryption/PhpseclibEncryption.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function generateKeypair(): array
4747
$key = $rsa->createKey();
4848

4949
if ($key['partialkey']) {
50-
throw new EncryptionException('Failed to generate RSA keypair');
50+
throw new EncryptionException('Failed to generate RSA keypair.');
5151
}
5252

5353
return [

0 commit comments

Comments
 (0)