Skip to content

Password hashers - redact passwords #515

Password hashers - redact passwords

Password hashers - redact passwords #515

Triggered via push October 18, 2023 21:12
Status Success
Total duration 2m 48s
Artifacts 1

ci.yaml

on: push
Matrix: Tests
Matrix: Coding standard
Matrix: Static analysis
Matrix: Test for mutants
Matrix: Code coverage finish
Status check - CI
3s
Status check - CI
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
Test for mutants (ubuntu-latest, 8.1): 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
Test for mutants (ubuntu-latest, 8.1): 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

Artifacts

Produced during runtime
Name Size
Logs - Mutations Expired
1.09 KB