StubsPhpDocTest
class StubsPhpDocTest 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
void
testClassConstantsPHPDocs(string|null $classHash, string|null $constantName)
No description
void
testInterfaceConstantsPHPDocs(string $classId, string $constantName)
No description
void
testEnumConstantsPHPDocs(string|null $classId, string|null $constantName)
No description
static void
testConstantsPHPDocs(string $constantId)
No description
static void
testFunctionPHPDocs(string $functionId)
No description
static void
testClassesPHPDocs(string $classId, string $sourceFilePath)
No description
static void
testInterfacesPHPDocs(string $classId, string $sourceFilePath)
No description
static void
testEumsPHPDocs(string $classId, string $sourceFilePath)
No description
static void
testClassMethodsPHPDocs(string $classHash, string $methodName)
No description
static void
testInterfaceMethodsPHPDocs(string $classId, string $methodName)
No description
static void
testEnumMethodsPHPDocs(string $classId, string $methodName)
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
void
testClassConstantsPHPDocs(string|null $classHash, string|null $constantName)
No description
void
testInterfaceConstantsPHPDocs(string $classId, string $constantName)
No description
void
testEnumConstantsPHPDocs(string|null $classId, string|null $constantName)
No description
static void
testConstantsPHPDocs(string $constantId)
No description
static void
testFunctionPHPDocs(string $functionId)
No description
static void
testClassesPHPDocs(string $classId, string $sourceFilePath)
No description
static void
testInterfacesPHPDocs(string $classId, string $sourceFilePath)
No description
static void
testEumsPHPDocs(string $classId, string $sourceFilePath)
No description
static void
testClassMethodsPHPDocs(string $classHash, string $methodName)
No description
static void
testInterfaceMethodsPHPDocs(string $classId, string $methodName)
No description
static void
testEnumMethodsPHPDocs(string $classId, string $methodName)
No description