Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
LineBreakKind
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Text;
6
7/**
8 * Line-break classification per UAX #14.
9 *
10 * - `Mandatory` — the break must occur (line terminators: U+000A LF,
11 *   U+000D CR, U+0085 NEL, U+2028 line separator, U+2029 paragraph separator).
12 * - `Allowed` — the break may occur if the line is otherwise full
13 *   (whitespace boundaries, after punctuation, etc.).
14 */
15enum LineBreakKind
16{
17    case Mandatory;
18    case Allowed;
19}