StubTests\Framework\Validator\Functions
Classes
Validates that functions marked as deprecated in reflection are also deprecated in stubs.
Validates that functions from reflection exist in stubs.
Validates that parameters optional in reflection are also optional in stub functions.
Validates that default parameter values in stub functions match those in reflection.
Validates that parameters deprecated in reflection are also deprecated in stubs for functions (and methods when used via entityId format).
Validates that the number of parameters in stub functions matches reflection.
Validates that PhpDoc types in stubs are compatible with their signature types for global functions.
Validates that return types in stub functions match those in reflection.
Validates that specific array functions document the correct union return type in their PhpDoc, where the PHP signature uses only 'mixed' and loses the failure case.
Validates that the tentative-return-type flag on functions/methods in stubs matches reflection.
Validates that parameter names in stub functions/methods match those in reflection.
Validates that parameter types in stubs match those in reflection.