Skip to content

Commit 4ea1aee

Browse files
committed
fix codesniffer issues
1 parent c4f5579 commit 4ea1aee

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/Vulnerabilities/GoldenSAMLResponseTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
use SimpleSAML\XMLSecurity\CryptoEncoding\PEM;
1313
use SimpleSAML\XMLSecurity\Exception\CanonicalizationFailedException;
1414
use SimpleSAML\XMLSecurity\Key\PublicKey;
15-
use SimpleSAML\XMLSecurity\TestUtils\PEMCertificatesMock;
1615

1716
use function dirname;
1817

@@ -38,7 +37,10 @@ public function testSignedResponseWithStrayXmlnsThrowsAnException(): void
3837
$verifier = (new SignatureAlgorithmFactory())->getAlgorithm(
3938
$assertion->getSignature()->getSignedInfo()->getSignatureMethod()->getAlgorithm()->getValue(),
4039
new PublicKey(
41-
new PEM(PEM::TYPE_PUBLIC_KEY, $assertion->getSignature()->getKeyInfo()->getInfo()[0]->getData()[0]->getContent()->getValue()),
40+
new PEM(
41+
PEM::TYPE_PUBLIC_KEY,
42+
$assertion->getSignature()->getKeyInfo()->getInfo()[0]->getData()[0]->getContent()->getValue(),
43+
),
4244
),
4345
);
4446

0 commit comments

Comments
 (0)