Skip to content

Commit e0cded6

Browse files
committed
Break parentage of AssertionFailedException for SchemaViolationException
1 parent fcf9a35 commit e0cded6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/Exception/SchemaViolationException.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,11 @@
44

55
namespace SimpleSAML\XML\Exception;
66

7-
use SimpleSAML\Assert\AssertionFailedException;
8-
97
/**
10-
* This exception may be raised when a violation of the SAML2 schema is detected
8+
* This exception may be raised when a violation of the XSD schema is detected
119
*
1210
* @package simplesamlphp/xml-common
1311
*/
14-
class SchemaViolationException extends AssertionFailedException
12+
class SchemaViolationException extends RuntimeException
1513
{
1614
}

0 commit comments

Comments
 (0)