final class AllowedBlocks

Checks that a block and its nested blocks are of the kinds the profile allows anywhere.

A selector comment is allowed only as the first block of a quotation.

Methods§

public static function check(Node $node, array<string, mixed> $schema, string $file): void

Test cases 13§

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

Dedicated tests 6
Other tests reaching this symbol 7

Relations§

Static calls 1