Skip to content

Commit a8d1a46

Browse files
committed
🚿
1 parent 8af3771 commit a8d1a46

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

src/Authenticator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(
5555
public function setOptions(SettingsContainerInterface|AuthenticatorOptions|iterable $options):static{
5656

5757
if(is_iterable($options)){
58-
$options = new AuthenticatorOptions($options);
58+
$options = new AuthenticatorOptions($options); // @codeCoverageIgnore
5959
}
6060

6161
$this->options = $options;

src/Authenticators/SteamGuard.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ public function getOTP(#[SensitiveParameter] int $code):string{
8686
return $str;
8787
}
8888

89+
/**
90+
* @codeCoverageIgnore
91+
*/
8992
public function getUri(string $label, string $issuer, int|null $counter = null):string{
9093
throw new RuntimeException('Not supported');
9194
}

src/Common/EncoderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
use SensitiveParameter;
1515

1616
/**
17-
*
17+
* Common interface for character encoding classes
1818
*/
1919
interface EncoderInterface{
2020

src/Common/Hex.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public static function encode(#[SensitiveParameter] string $string):string{
3434
return \sodium_bin2hex($string);
3535
}
3636

37-
return ConstantTimeHex::encode($string);
37+
return ConstantTimeHex::encode($string); // @codeCoverageIgnore
3838
}
3939

4040
/**
@@ -47,7 +47,7 @@ public static function decode(#[SensitiveParameter] string $encodedString):strin
4747
return \sodium_hex2bin($encodedString);
4848
}
4949

50-
return ConstantTimeHex::decode($encodedString);
50+
return ConstantTimeHex::decode($encodedString); // @codeCoverageIgnore
5151
}
5252

5353
public static function checkCharacterSet(#[SensitiveParameter] string $encodedString):void{

0 commit comments

Comments
 (0)