StubsForbiddenTypeHintsTest
class StubsForbiddenTypeHintsTest extends AbstractBaseStubsTestCase (View source)
Properties
protected string | $emptyDataSetMessage | from AbstractBaseStubsTestCase |
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
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
testClassMethodDoesNotHaveNullableReturnTypeHint(string|null $classHash, string|null $methodHash)
No description
testInterfaceMethodDoesNotHaveNullableReturnTypeHint(string|null $classHash, string|null $methodHash)
No description
testEnumMethodDoesNotHaveNullableReturnTypeHint(string|null $classHash, string|null $methodHash)
No description
testClassMethodDoesNotHaveUnionTypeHintsInParameters(string|null $classHash, string|null $methodHash, string|null $parameterName)
No description
testInterfaceMethodDoesNotHaveUnionTypeHintsInParameters(string|null $classHash, string|null $methodHash, string|null $parameterName)
No description
testEnumMethodDoesNotHaveUnionTypeHintsInParameters(string|null $classHash, string|null $methodHash, string|null $parameterName)
No description
testClassMethodDoesNotHaveNullableTypeHintsInParameters(string|null $classHash, string|null $methodHash, string|null $parameterName)
No description
testInterfaceMethodDoesNotHaveNullableTypeHintsInParameters(string|null $classHash, string|null $methodHash, string|null $parameterName)
No description
testEnumMethodDoesNotHaveNullableTypeHintsInParameters(string|null $classHash, string|null $methodHash, string|null $parameterName)
No description
testClassMethodDoesNotHaveUnionReturnTypeHint(string|null $classHash, string|null $methodHash)
No description
testInterfaceMethodDoesNotHaveUnionReturnTypeHint(string|null $classHash, string|null $methodHash)
No description
testEnumMethodDoesNotHaveUnionReturnTypeHint(string|null $classHash, string|null $methodHash)
No description
testClassMethodDoesNotHaveScalarTypeHintsInParameters(string|null $classHash, string|null $methodHash, string|null $parameterName)
No description
testInterfaceMethodDoesNotHaveScalarTypeHintsInParameters(string|null $classHash, string|null $methodHash, string|null $parameterName)
No description
testEnumMethodDoesNotHaveScalarTypeHintsInParameters(string|null $classHash, string|null $methodHash, string|null $parameterName)
No description
testClassMethodDoesNotHaveReturnTypeHint(string|null $classHash, string|null $methodHash)
No description
testInterfaceMethodDoesNotHaveReturnTypeHint(string|null $classHash, string|null $methodHash)
No description
testEnumMethodDoesNotHaveReturnTypeHint(string|null $classHash, string|null $methodHash)
No description