Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
SelectorSyntaxException
n/a
0 / 0
n/a
0 / 0
0
n/a
0 / 0
1<?php
2
3declare(strict_types=1);
4
5namespace Phpdftk\Css\Selector;
6
7/**
8 * Thrown when a non-forgiving selector context encounters a syntax error
9 * (e.g. inside `:not()` or `:has()`). Forgiving contexts (`:is()`,
10 * `:where()`, top-level selector lists) catch this and drop the offending
11 * selector per Selectors 4 ยง3.7.
12 */
13final class SelectorSyntaxException extends \RuntimeException {}