We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dd9c5f1 commit 6f41e7fCopy full SHA for 6f41e7f
1 file changed
tests/XML/SignedElementTest.php
@@ -195,6 +195,7 @@ public function testVerifyingTamperedSignatureWithoutKeyFails(): void
195
$this->expectException(RuntimeException::class);
196
$this->expectExceptionMessage('Failed to verify signature.');
197
198
+ // Value cannot be ignored due to NoDiscard-attribute
199
$verified = $customSigned->verify();
200
}
201
@@ -217,7 +218,9 @@ public function testVerifyingTamperedSignatureWithKeyFails(): void
217
218
219
220
- $customSigned->verify($verifier);
221
+
222
223
+ $verified = $customSigned->verify($verifier);
224
225
226
0 commit comments