Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 1 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | protected function validateContent(/** @scrutinizer ignore-unused */ string $content): void |
||
28 | { |
||
29 | /** |
||
30 | * 1.2.1 String and URI Values |
||
31 | * |
||
32 | * All SAML string and URI reference values have the types xsd:string and xsd:anyURI respectively, which |
||
33 | * are built in to the W3C XML Schema Datatypes specification [Schema2]. All strings in SAML messages |
||
34 | * MUST consist of at least one non-whitespace character (whitespace is defined in the XML |
||
35 | * Recommendation [XML] §2.3). Empty and whitespace-only values are disallowed. |
||
36 | */ |
||
37 | Assert::notWhitespaceOnly($content, ProtocolViolationException::class); |
||
38 | } |
||
40 |