Classes

Validates that the final modifier on methods in stubs matches reflection.

Validates that all methods present in reflection also exist in stubs.

Validates that parameters optional in reflection are also optional in stub methods.

Validates that default parameter values in stub methods match those in reflection.

Validates that parameters deprecated in reflection are also deprecated in stubs.

Validates that parameter names in stub class methods match those in reflection.

Validates that parameter types in stub methods match those in reflection.

Validates that the number of parameters in stub methods matches reflection.

Validates that PhpDoc types in class stubs are compatible with their signature types.

Validates that return types in stub methods match those in reflection.

Validates that the tentative-return-type flag on methods in stubs matches reflection.

Validates that the visibility (public/protected/private) of methods in stubs matches reflection.

Validates that the static modifier on methods in stubs matches reflection.

Validates that methods marked as deprecated in reflection are also deprecated in stubs.

Validates that Reflection API methods declare version-aware type hints (via LanguageLevelTypeAware) that narrow the generic ReflectionType base to concrete subtypes (ReflectionNamedType, ReflectionUnionType, ReflectionIntersectionType) for the PHP versions that introduced them.