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