StubTests\Framework\Validator\Services
Classes
Extracts the list of ancestor class FQNs from a PHPClass by traversing the parentClass chain.
Extracts the list of directly-implemented interface FQNs from a class-like entity.
Resolves deprecation state at a given PHP version, and compares the two sides.
Service for looking up entities by ID with lazy indexing and caching.
Service for collecting methods and properties from entity hierarchies.
Finds parameters that are optional in reflection but required in stubs.
Compares parameter count between reflection and stubs.
Compares default parameter values between reflection and stubs.
Shared utility for filtering and deduplicating parameters by PHP version.
Compares parameter names positionally between reflection and stubs.
Compares parameter types between reflection and stubs, matching by parameter name.
Whether a PhpDoc type and a signature type describe the same thing.
Narrows phpstan/psalm type annotations down to the closest built-in PHP type.
Decides whether a stub return type is equivalent to the reflected one.
Resolves return type strings from functions/methods with version-aware fallback.
Provides type-resolution and normalisation helpers for validators that compare type information between reflection data and stubs.