Skip to content

Fix psalm

Fix psalm #327

Triggered via pull request February 6, 2024 14:42
@vjikvjik
opened #70
psalm
Status Success
Total duration 1m 27s
Artifacts

mutation.yml

on: pull_request
Matrix: mutation / roave-infection
Fit to window
Zoom out
Zoom in

Annotations

2 warnings
mutation / PHP 8.2-ubuntu-latest: src/TokenRepository.php#L54
Escaped Mutant for Mutator "DecrementInteger": --- Original +++ New @@ @@ } return null; } - private function verifyToken(JWS $jws, JWK $jwk, int $signature = 0) : bool + private function verifyToken(JWS $jws, JWK $jwk, int $signature = -1) : bool { return (new JWSVerifier($this->algorithmManager))->verifyWithKey($jws, $jwk, $signature); } }
mutation / PHP 8.2-ubuntu-latest: src/TokenRepository.php#L54
Escaped Mutant for Mutator "IncrementInteger": --- Original +++ New @@ @@ } return null; } - private function verifyToken(JWS $jws, JWK $jwk, int $signature = 0) : bool + private function verifyToken(JWS $jws, JWK $jwk, int $signature = 1) : bool { return (new JWSVerifier($this->algorithmManager))->verifyWithKey($jws, $jwk, $signature); } }