Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
ViolationSeverity
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Pdf\Conformance\Result;
6
7/**
8 * Severity levels for conformance violations.
9 *
10 * Error means the document is non-compliant and will fail strict validation.
11 * Warning is advisory -- the document may still be accepted by some validators
12 * but the practice is discouraged by the relevant ISO standard.
13 */
14enum ViolationSeverity: string
15{
16    /** Hard failure — the document does not conform. */
17    case Error = 'error';
18
19    /** Advisory — potential conformance issue that may pass some validators. */
20    case Warning = 'warning';
21}