Skip to content

Fix #82: Replace web-token/* with web-token/jwt-library and update min version of PHP to 8.1 #379

Fix #82: Replace web-token/* with web-token/jwt-library and update min version of PHP to 8.1

Fix #82: Replace web-token/* with web-token/jwt-library and update min version of PHP to 8.1 #379

Triggered via pull request August 19, 2024 15:57
Status Success
Total duration 28s
Artifacts

mutation.yml

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

Annotations

2 warnings
mutation / PHP 8.3-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.3-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); } }