| 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.3.1 String Values |
||
| 31 | * |
||
| 32 | * All SAML string values have the type xs:string, which is built in to the W3C XML Schema Datatypes |
||
| 33 | * specification [Schema2]. Unless otherwise noted in this specification or particular profiles, all strings in |
||
| 34 | * SAML messages MUST consist of at least one non-whitespace character (whitespace is defined in the |
||
| 35 | * XML Recommendation [XML] Section 2.3). |
||
| 36 | */ |
||
| 37 | Assert::notWhitespaceOnly($content, ProtocolViolationException::class); |
||
| 38 | } |
||
| 40 |