interface KnownProblemsProvider (View source)

Interface for providing known validation problems.

Implementations define sets of entities that have known issues with validation for documented reasons (e.g., overloaded signatures, reflection limitations).

This interface follows the Provider pattern used throughout the codebase (e.g., StubsDataProvider, ReflectionDataProvider) for consistent architecture.

Methods

array
getProblems()

Get all known validation problems.

array
getProblemsForEntity(EntityType $entityType, string $entityId)

Get problems for a specific entity.

Details

array getProblems()

Get all known validation problems.

Return Value

array

Array of problem definitions

array getProblemsForEntity(EntityType $entityType, string $entityId)

Get problems for a specific entity.

Parameters

EntityType $entityType

Type of entity (function, method, class)

string $entityId

Fully qualified entity identifier

Return Value

array

Array of problems for this entity