BaseEnumsTest
class BaseEnumsTest 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
testEnumsParent(string|null $enumId)
No description
testEnumsMethodsExist(string|null $classId, string|null $methodName)
No description
testEnumsFinalMethods(string|null $classId, string|null $methodName)
No description
testEnumsStaticMethods(string|null $classId, string|null $methodName)
No description
testEnumsMethodsVisibility(string|null $classId, string|null $methodName)
No description
testEnumMethodsParametersCount(string|null $classId, string|null $methodName)
No description
testEnumsInterfaces(string|null $classId)
No description
void
testEnumsExist(string|null $classId)
No description
void
testEnumsFinal(string|null $classId)
No description
void
testEnumsNamespace(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
testEnumsParent(string|null $enumId)
No description
testEnumsMethodsExist(string|null $classId, string|null $methodName)
No description
testEnumsFinalMethods(string|null $classId, string|null $methodName)
No description
testEnumsStaticMethods(string|null $classId, string|null $methodName)
No description
testEnumsMethodsVisibility(string|null $classId, string|null $methodName)
No description
testEnumMethodsParametersCount(string|null $classId, string|null $methodName)
No description
testEnumsInterfaces(string|null $classId)
No description
void
testEnumsExist(string|null $classId)
No description
void
testEnumsFinal(string|null $classId)
No description
void
testEnumsNamespace(string|null $classId)
No description