final class Palette
Restricted visibility: declared "@visibility root". Code outside that scope must not name this declaration.

Which hue each fact about a statement is written in.

The hues are doc-ui's tones. What a statement does and what the analyzer managed to establish about it are two different things, and the report keeps them apart by hue. The kind carries an identity tone — blue, teal, violet, pink, indigo, slate — because it is a property of the statement; the resolution and the findings carry state tones — ok, warn, danger, neutral — because they are judgements about the reading. A search the analyzer left open is the common case in a real application, so it is written quietly, as an outline, and the loud tones are kept for what is rare and worth a look: input from outside the program, and a finding of some severity.

Constants§

public const OPEN = 'chip-ghost'

The quiet writing of a state that is ordinary: an outline with no tint.

Methods§

public function kindGroup(string $kind): string

The group a kind is coloured as, which is also how the report sections a table's statements.

Parameters

$kindstring

Returns

string
Test cases 1
Called from 1
public function bar(string $chipRole): string

The class a segment of a meter carries for a chip role.

A tone is a tone on a meter as on a chip; the quiet outline of an open search is a hatched segment, which is how doc-ui draws what is not settled.

Parameters

$chipRolestring

Returns

string
Test cases 1
Called from 1
Calls 1

Test cases 20§

Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.

Dedicated tests 5
Other tests reaching this symbol 15

Relations§

Instantiated in 5
Method calls 15
Type declarations 10