Release 2.0.1 #516
Annotations
2 warnings
src/Passwords/Argon2PasswordHasher.php#L53
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
public function hash(#[SensitiveParameter] string $raw) : string
{
$hash = password_hash($raw, PASSWORD_ARGON2ID, $this->getOptions());
- assert($hash !== false);
+ assert($hash !== true);
// Since php 7.4 password_hash cannot return false
assert($hash !== null);
// All failing conditions are handled
|
src/Passwords/BcryptPasswordHasher.php#L34
Escaped Mutant for Mutator "FalseValue":
--- Original
+++ New
@@ @@
public function hash(#[SensitiveParameter] string $raw) : string
{
$hash = password_hash($raw, PASSWORD_BCRYPT, $this->getOptions());
- assert($hash !== false);
+ assert($hash !== true);
// Since php 7.4 password_hash cannot return false
assert($hash !== null);
// All failing conditions are handled
|
The logs for this run have expired and are no longer available.
Loading