BaseInterfacesTest
class BaseInterfacesTest extends AbstractBaseStubsTestCase (View source)
Properties
protected string | $emptyDataSetMessage | from AbstractBaseStubsTestCase |
Methods
static float|bool|int|string|null
getStringRepresentationOfDefaultParameterValue(mixed $defaultValue, PHPInterface|null $contextClass = null)
No description
static string
static array
getAllDuplicatesOfFunction(string|null $name)
No description
static bool
isReflectionTypesMatchSignature(array $reflectionTypes, array $typesFromSignature)
No description
static bool
isReflectionTypesExistInAttributes(array $reflectionTypes, array $typesFromAttribute)
No description
static string
getStringRepresentationOfTypeHintsFromAttributes(array $typesFromAttribute)
No description
static
convertNullableTypesToUnion(array $typesToProcess, array $resultArray)
No description
PHPClass|null
getClassLikeFromStubs(string $classId, bool $shouldSuiteCurrentPHPVersion = true)
No description
static void
setUpBeforeClass()
No description
testInterfacesParent(string|null $interfaceId)
No description
testInterfacesMethodsExist(string|null $classId, string|null $methodName)
No description
testInterfacesFinalMethods(string|null $classId, string|null $methodName)
No description
testInterfacesStaticMethods(string|null $classId, string|null $methodName)
No description
testInterfacesMethodsVisibility(string|null $classId, string|null $methodName)
No description
testInterfaceMethodsParametersCount(string|null $classId, string|null $methodName)
No description
void
testInterfacesExist(string|null $classId)
No description
void
testInterfacesFinal(string|null $classId)
No description
void
testInterfacesNamespace(string|null $classId)
No description
Details
static float|bool|int|string|null
getStringRepresentationOfDefaultParameterValue(mixed $defaultValue, PHPInterface|null $contextClass = null)
No description
static string
getParameterRepresentation(PHPFunction $function)
No description
static protected array
getDuplicatedFunctions(array $filtered)
No description
static protected array
getAllDuplicatesOfFunction(string|null $name)
No description
static bool
isReflectionTypesMatchSignature(array $reflectionTypes, array $typesFromSignature)
No description
static bool
isReflectionTypesExistInAttributes(array $reflectionTypes, array $typesFromAttribute)
No description
static string
getStringRepresentationOfTypeHintsFromAttributes(array $typesFromAttribute)
No description
static
convertNullableTypesToUnion(array $typesToProcess, array $resultArray)
No description
PHPClass|null
getClassLikeFromStubs(string $classId, bool $shouldSuiteCurrentPHPVersion = true)
No description
static void
setUpBeforeClass()
No description
testInterfacesParent(string|null $interfaceId)
No description
testInterfacesMethodsExist(string|null $classId, string|null $methodName)
No description
testInterfacesFinalMethods(string|null $classId, string|null $methodName)
No description
testInterfacesStaticMethods(string|null $classId, string|null $methodName)
No description
testInterfacesMethodsVisibility(string|null $classId, string|null $methodName)
No description
testInterfaceMethodsParametersCount(string|null $classId, string|null $methodName)
No description
void
testInterfacesExist(string|null $classId)
No description
void
testInterfacesFinal(string|null $classId)
No description
void
testInterfacesNamespace(string|null $classId)
No description