Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
WarningCode
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\HtmlToPdf;
6
7/**
8 * Stable identifier for the kinds of {@see Warning}s the renderer emits.
9 * String-backed so consumers can filter / dispatch off the code; the
10 * canonical strings are part of the public contract and won't change
11 * within a major version.
12 */
13enum WarningCode: string
14{
15    case UnsupportedCssProperty = 'unsupported_css_property';
16    case UnsupportedCssValue = 'unsupported_css_value';
17    case UnsupportedDisplayType = 'unsupported_display_type';
18    case UnsupportedSelector = 'unsupported_selector';
19    case MissingFont = 'missing_font';
20    case MissingResource = 'missing_resource';
21    case ResourceLimitExceeded = 'resource_limit_exceeded';
22    case DeprecatedFeature = 'deprecated_feature';
23    case PageOverflow = 'page_overflow';
24}