Skip to content

Commit

Permalink
Add use-statement
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Nov 16, 2024
1 parent bfcd7b3 commit a5ea684
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/XML/SignedElementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
use SimpleSAML\XMLSecurity\Constants as C;
use SimpleSAML\XMLSecurity\CryptoEncoding\PEM;
use SimpleSAML\XMLSecurity\Exception\RuntimeException;
use SimpleSAML\XMLSecurity\Exception\SignatureVerificationFailedException;
use SimpleSAML\XMLSecurity\Key\PublicKey;
use SimpleSAML\XMLSecurity\Key\X509Certificate;
use SimpleSAML\XMLSecurity\Test\XML\CustomSignable;
Expand Down Expand Up @@ -138,7 +139,7 @@ public function testSuccessfulVerifyingWithWrongKeyFirstRightOneSecond(): void
try {
$verified = $customSigned->verify($verifier);
break 1;
} catch (\SimpleSAML\XMLSecurity\Exception\SignatureVerificationFailedException $e) {
} catch (SignatureVerificationFailedException $e) {
continue;
}
}
Expand Down

0 comments on commit a5ea684

Please sign in to comment.