| Conditions | 2 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | protected static function validSAMLString(string $value, string $message = ''): void |
||
| 18 | { |
||
| 19 | parent::validString($value, $message, SchemaViolationException::class); |
||
| 20 | |||
| 21 | /** |
||
| 22 | * 1.3.1 String Values |
||
| 23 | * |
||
| 24 | * Unless otherwise noted in this specification or particular profiles, all strings in |
||
| 25 | * SAML messages MUST consist of at least one non-whitespace character |
||
| 26 | */ |
||
| 27 | parent::notWhitespaceOnly( |
||
| 28 | $value, |
||
| 29 | $message ?: '%s is not a SAML2.0-compliant string', |
||
| 30 | ProtocolViolationException::class, |
||
| 31 | ); |
||
| 34 |