You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 5.1:
Enable "native_constant_invocation" CS rule
Make AbstractPhpFileCacheWarmer public
Fix CS
Add a warning comment on ldap empty password
Bump Symfony version to 4.4.14
Update VERSION for 4.4.13
Update CHANGELOG for 4.4.13
[PhpunitBridge] Fix deprecation type detection
Copy file name to clipboardExpand all lines: Command/UserPasswordEncoderCommand.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
134
134
if ($input->isInteractive() && !$emptySalt) {
135
135
$emptySalt = true;
136
136
137
-
$errorIo->note('The command will take care of generating a salt for you. Be aware that some encoders advise to let them generate their own salt. If you\'re using one of those encoders, please answer \'no\' to the question below. '.PHP_EOL.'Provide the \'empty-salt\' option in order to let the encoder handle the generation itself.');
137
+
$errorIo->note('The command will take care of generating a salt for you. Be aware that some encoders advise to let them generate their own salt. If you\'re using one of those encoders, please answer \'no\' to the question below. '.\PHP_EOL.'Provide the \'empty-salt\' option in order to let the encoder handle the generation itself.');
138
138
139
139
if ($errorIo->confirm('Confirm salt generation ?')) {
Copy file name to clipboardExpand all lines: DependencyInjection/SecurityExtension.php
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -696,7 +696,7 @@ private function createEncoder(array $config)
696
696
// bcrypt encoder
697
697
if ('bcrypt' === $config['algorithm']) {
698
698
$config['algorithm'] = 'native';
699
-
$config['native_algorithm'] = PASSWORD_BCRYPT;
699
+
$config['native_algorithm'] = \PASSWORD_BCRYPT;
700
700
701
701
return$this->createEncoder($config);
702
702
}
@@ -707,7 +707,7 @@ private function createEncoder(array $config)
707
707
$config['algorithm'] = 'sodium';
708
708
} elseif (\defined('PASSWORD_ARGON2I')) {
709
709
$config['algorithm'] = 'native';
710
-
$config['native_algorithm'] = PASSWORD_ARGON2I;
710
+
$config['native_algorithm'] = \PASSWORD_ARGON2I;
711
711
} else {
712
712
thrownewInvalidConfigurationException(sprintf('Algorithm "argon2i" is not available. Either use "%s" or upgrade to PHP 7.2+ instead.', \defined('SODIUM_CRYPTO_PWHASH_ALG_ARGON2ID13') ? 'argon2id", "auto' : 'auto'));
713
713
}
@@ -720,7 +720,7 @@ private function createEncoder(array $config)
720
720
$config['algorithm'] = 'sodium';
721
721
} elseif (\defined('PASSWORD_ARGON2ID')) {
722
722
$config['algorithm'] = 'native';
723
-
$config['native_algorithm'] = PASSWORD_ARGON2ID;
723
+
$config['native_algorithm'] = \PASSWORD_ARGON2ID;
724
724
} else {
725
725
thrownewInvalidConfigurationException(sprintf('Algorithm "argon2id" is not available. Either use "%s", upgrade to PHP 7.3+ or use libsodium 1.0.15+ instead.', \defined('PASSWORD_ARGON2I') || $hasSodium ? 'argon2i", "auto' : 'auto'));
726
726
}
@@ -944,7 +944,7 @@ private function isValidIp(string $cidr): bool
0 commit comments