Skip to content

Commit 3ec2b26

Browse files
Remove useless reflection stubs (#4232)
1 parent 466a3de commit 3ec2b26

File tree

1 file changed

+0
-184
lines changed

1 file changed

+0
-184
lines changed

resources/functionMap.php

Lines changed: 0 additions & 184 deletions
Original file line numberDiff line numberDiff line change
@@ -9030,229 +9030,45 @@
90309030
'RedisCluster::zScan' => ['array', 'key'=>'string', '&iterator'=>'int', 'pattern='=>'string', 'count='=>'int'],
90319031
'RedisCluster::zScore' => ['float', 'key'=>'string', 'member'=>'string'],
90329032
'RedisCluster::zUnionStore' => ['int', 'Output'=>'string', 'ZSetKeys'=>'array', 'Weights='=>'?array', 'aggregateFunction='=>'string'],
9033-
'Reflection::export' => ['string|null', 'r'=>'reflector', 'return='=>'bool'],
9034-
'Reflection::getModifierNames' => ['array', 'modifiers'=>'int'],
9035-
'ReflectionClass::__clone' => ['void'],
9036-
'ReflectionClass::__construct' => ['void', 'argument'=>'object|string'],
9037-
'ReflectionClass::__toString' => ['string'],
90389033
'ReflectionClass::export' => ['string|null', 'argument'=>'string|object', 'return='=>'bool'],
9039-
'ReflectionClass::getConstant' => ['mixed', 'name'=>'string'],
90409034
'ReflectionClass::getConstants' => ['array<string,mixed>'],
90419035
'ReflectionClass::getConstructor' => ['ReflectionMethod|null'],
90429036
'ReflectionClass::getDefaultProperties' => ['array<string, mixed>'],
9043-
'ReflectionClass::getDocComment' => ['string|false'],
90449037
'ReflectionClass::getEndLine' => ['positive-int|false'],
9045-
'ReflectionClass::getExtension' => ['ReflectionExtension|null'],
9046-
'ReflectionClass::getExtensionName' => ['string|false'],
90479038
'ReflectionClass::getFileName' => ['non-empty-string|false'],
90489039
'ReflectionClass::getInterfaceNames' => ['list<class-string>'],
90499040
'ReflectionClass::getInterfaces' => ['array<string, ReflectionClass>'],
9050-
'ReflectionClass::getMethod' => ['ReflectionMethod', 'name'=>'string'],
90519041
'ReflectionClass::getMethods' => ['list<ReflectionMethod>', 'filter='=>'int'],
9052-
'ReflectionClass::getModifiers' => ['int'],
90539042
'ReflectionClass::getName' => ['class-string'],
9054-
'ReflectionClass::getNamespaceName' => ['string'],
9055-
'ReflectionClass::getParentClass' => ['ReflectionClass|false'],
90569043
'ReflectionClass::getProperties' => ['list<ReflectionProperty>', 'filter='=>'int'],
9057-
'ReflectionClass::getProperty' => ['ReflectionProperty', 'name'=>'string'],
9058-
'ReflectionClass::getReflectionConstant' => ['ReflectionClassConstant|false', 'name'=>'string'],
90599044
'ReflectionClass::getReflectionConstants' => ['list<ReflectionClassConstant>'],
9060-
'ReflectionClass::getShortName' => ['string'],
90619045
'ReflectionClass::getStartLine' => ['positive-int|false'],
90629046
'ReflectionClass::getStaticProperties' => ['array<string, mixed>'],
9063-
'ReflectionClass::getStaticPropertyValue' => ['mixed', 'name'=>'string', 'default='=>'mixed'],
90649047
'ReflectionClass::getTraitAliases' => ['array<string,string>'],
90659048
'ReflectionClass::getTraitNames' => ['list<trait-string>'],
90669049
'ReflectionClass::getTraits' => ['array<string,ReflectionClass>'],
9067-
'ReflectionClass::hasConstant' => ['bool', 'name'=>'string'],
9068-
'ReflectionClass::hasMethod' => ['bool', 'name'=>'string'],
9069-
'ReflectionClass::hasProperty' => ['bool', 'name'=>'string'],
90709050
'ReflectionClass::implementsInterface' => ['bool', 'interface_name'=>'string|ReflectionClass'],
9071-
'ReflectionClass::inNamespace' => ['bool'],
9072-
'ReflectionClass::isAbstract' => ['bool'],
9073-
'ReflectionClass::isAnonymous' => ['bool'],
9074-
'ReflectionClass::isCloneable' => ['bool'],
9075-
'ReflectionClass::isFinal' => ['bool'],
9076-
'ReflectionClass::isInstance' => ['bool', 'object'=>'object'],
9077-
'ReflectionClass::isInstantiable' => ['bool'],
9078-
'ReflectionClass::isInterface' => ['bool'],
9079-
'ReflectionClass::isInternal' => ['bool'],
9080-
'ReflectionClass::isIterable' => ['bool'],
9081-
'ReflectionClass::isIterateable' => ['bool'],
9082-
'ReflectionClass::isSubclassOf' => ['bool', 'class'=>'string|ReflectionClass'],
9083-
'ReflectionClass::isTrait' => ['bool'],
9084-
'ReflectionClass::isUserDefined' => ['bool'],
90859051
'ReflectionClass::newInstance' => ['object', 'args='=>'mixed', '...args='=>'mixed'],
90869052
'ReflectionClass::newInstanceArgs' => ['object', 'args='=>'array'],
9087-
'ReflectionClass::newInstanceWithoutConstructor' => ['object'],
9088-
'ReflectionClass::setStaticPropertyValue' => ['void', 'name'=>'string', 'value'=>'mixed'],
9089-
'ReflectionClassConstant::__construct' => ['void', 'class'=>'mixed', 'name'=>'string'],
9090-
'ReflectionClassConstant::__toString' => ['string'],
9091-
'ReflectionClassConstant::export' => ['string', 'class'=>'mixed', 'name'=>'string', 'return='=>'bool'],
9092-
'ReflectionClassConstant::getDeclaringClass' => ['ReflectionClass'],
9093-
'ReflectionClassConstant::getDocComment' => ['string|false'],
9094-
'ReflectionClassConstant::getModifiers' => ['int'],
90959053
'ReflectionClassConstant::getName' => ['string'],
9096-
'ReflectionClassConstant::getValue' => ['mixed'],
9097-
'ReflectionClassConstant::isPrivate' => ['bool'],
9098-
'ReflectionClassConstant::isProtected' => ['bool'],
9099-
'ReflectionClassConstant::isPublic' => ['bool'],
9100-
'ReflectionExtension::__clone' => ['void'],
9101-
'ReflectionExtension::__construct' => ['void', 'name'=>'string'],
9102-
'ReflectionExtension::__toString' => ['string'],
9103-
'ReflectionExtension::export' => ['string|null', 'name'=>'string', 'return='=>'bool'],
91049054
'ReflectionExtension::getClasses' => ['array<string,ReflectionClass>'],
91059055
'ReflectionExtension::getClassNames' => ['list<class-string>'],
91069056
'ReflectionExtension::getConstants' => ['array<string,mixed>'],
91079057
'ReflectionExtension::getDependencies' => ['array<string,string>'],
91089058
'ReflectionExtension::getFunctions' => ['array<string,ReflectionFunction>'],
91099059
'ReflectionExtension::getINIEntries' => ['array<string,mixed>'],
9110-
'ReflectionExtension::getName' => ['string'],
9111-
'ReflectionExtension::getVersion' => ['string'],
9112-
'ReflectionExtension::info' => ['void'],
9113-
'ReflectionExtension::isPersistent' => ['void'],
9114-
'ReflectionExtension::isTemporary' => ['bool'],
9115-
'ReflectionFunction::__construct' => ['void', 'name'=>'string|Closure'],
9116-
'ReflectionFunction::__toString' => ['string'],
9117-
'ReflectionFunction::export' => ['string|null', 'name'=>'string', 'return='=>'bool'],
9118-
'ReflectionFunction::getClosure' => ['Closure'],
9119-
'ReflectionFunction::getClosureScopeClass' => ['ReflectionClass'],
9120-
'ReflectionFunction::getClosureThis' => ['bool'],
9121-
'ReflectionFunction::getDocComment' => ['string|false'],
9122-
'ReflectionFunction::getEndLine' => ['positive-int|false'],
9123-
'ReflectionFunction::getExtension' => ['ReflectionExtension|null'],
9124-
'ReflectionFunction::getExtensionName' => ['string|false'],
9125-
'ReflectionFunction::getFileName' => ['non-empty-string|false'],
9126-
'ReflectionFunction::getName' => ['non-empty-string'],
9127-
'ReflectionFunction::getNamespaceName' => ['string'],
9128-
'ReflectionFunction::getNumberOfParameters' => ['int'],
9129-
'ReflectionFunction::getNumberOfRequiredParameters' => ['int'],
9130-
'ReflectionFunction::getParameters' => ['list<ReflectionParameter>'],
9131-
'ReflectionFunction::getReturnType' => ['?ReflectionType'],
9132-
'ReflectionFunction::getShortName' => ['string'],
9133-
'ReflectionFunction::getStartLine' => ['positive-int|false'],
9134-
'ReflectionFunction::getStaticVariables' => ['array'],
9135-
'ReflectionFunction::inNamespace' => ['bool'],
9136-
'ReflectionFunction::invoke' => ['mixed', '...args='=>'mixed'],
9137-
'ReflectionFunction::invokeArgs' => ['mixed', 'args'=>'array'],
9138-
'ReflectionFunction::isClosure' => ['bool'],
9139-
'ReflectionFunction::isDeprecated' => ['bool'],
9140-
'ReflectionFunction::isDisabled' => ['bool'],
9141-
'ReflectionFunction::isGenerator' => ['bool'],
9142-
'ReflectionFunction::isInternal' => ['bool'],
9143-
'ReflectionFunction::isUserDefined' => ['bool'],
9144-
'ReflectionFunction::isVariadic' => ['bool'],
9145-
'ReflectionFunction::returnsReference' => ['bool'],
9146-
'ReflectionFunctionAbstract::__clone' => ['void'],
9147-
'ReflectionFunctionAbstract::__toString' => ['string'],
9148-
'ReflectionFunctionAbstract::getClosureScopeClass' => ['ReflectionClass|null'],
9149-
'ReflectionFunctionAbstract::getClosureThis' => ['object|null'],
9150-
'ReflectionFunctionAbstract::getDocComment' => ['string|false'],
91519060
'ReflectionFunctionAbstract::getEndLine' => ['positive-int|false'],
9152-
'ReflectionFunctionAbstract::getExtension' => ['ReflectionExtension|null'],
9153-
'ReflectionFunctionAbstract::getExtensionName' => ['string|false'],
91549061
'ReflectionFunctionAbstract::getFileName' => ['non-empty-string|false'],
91559062
'ReflectionFunctionAbstract::getName' => ['non-empty-string'],
9156-
'ReflectionFunctionAbstract::getNamespaceName' => ['string'],
9157-
'ReflectionFunctionAbstract::getNumberOfParameters' => ['int'],
9158-
'ReflectionFunctionAbstract::getNumberOfRequiredParameters' => ['int'],
91599063
'ReflectionFunctionAbstract::getParameters' => ['list<ReflectionParameter>'],
9160-
'ReflectionFunctionAbstract::getReturnType' => ['?ReflectionType'],
9161-
'ReflectionFunctionAbstract::getShortName' => ['string'],
91629064
'ReflectionFunctionAbstract::getStartLine' => ['positive-int|false'],
9163-
'ReflectionFunctionAbstract::getStaticVariables' => ['array'],
9164-
'ReflectionFunctionAbstract::hasReturnType' => ['bool'],
9165-
'ReflectionFunctionAbstract::inNamespace' => ['bool'],
9166-
'ReflectionFunctionAbstract::isClosure' => ['bool'],
9167-
'ReflectionFunctionAbstract::isDeprecated' => ['bool'],
9168-
'ReflectionFunctionAbstract::isGenerator' => ['bool'],
9169-
'ReflectionFunctionAbstract::isInternal' => ['bool'],
9170-
'ReflectionFunctionAbstract::isUserDefined' => ['bool'],
9171-
'ReflectionFunctionAbstract::isVariadic' => ['bool'],
9172-
'ReflectionFunctionAbstract::returnsReference' => ['bool'],
9173-
'ReflectionGenerator::__construct' => ['void', 'generator'=>'object'],
9174-
'ReflectionGenerator::getExecutingFile' => ['string'],
9175-
'ReflectionGenerator::getExecutingGenerator' => ['Generator'],
9176-
'ReflectionGenerator::getExecutingLine' => ['int'],
9177-
'ReflectionGenerator::getFunction' => ['ReflectionFunctionAbstract'],
9178-
'ReflectionGenerator::getThis' => ['object'],
91799065
'ReflectionGenerator::getTrace' => ['list<array{function:string,line?:int,file?:string,class?:class-string,type?:\'::\'|\'->\',args?:mixed[],object?:object}>', 'options'=>'int'],
91809066
'ReflectionMethod::__construct' => ['void', 'class'=>'string|object', 'name'=>'string'],
91819067
'ReflectionMethod::__construct\'1' => ['void', 'class_method'=>'string'],
9182-
'ReflectionMethod::__toString' => ['string'],
9183-
'ReflectionMethod::export' => ['string|null', 'class'=>'string', 'name'=>'string', 'return='=>'bool'],
9184-
'ReflectionMethod::getClosure' => ['Closure', 'object'=>'?object'],
9185-
'ReflectionMethod::getDeclaringClass' => ['ReflectionClass'],
9186-
'ReflectionMethod::getModifiers' => ['int'],
9187-
'ReflectionMethod::getPrototype' => ['ReflectionMethod'],
9188-
'ReflectionMethod::invoke' => ['mixed', 'object'=>'?object', '...args='=>'mixed'],
9189-
'ReflectionMethod::invokeArgs' => ['mixed', 'object'=>'?object', 'args'=>'array'],
9190-
'ReflectionMethod::isAbstract' => ['bool'],
9191-
'ReflectionMethod::isConstructor' => ['bool'],
9192-
'ReflectionMethod::isDestructor' => ['bool'],
9193-
'ReflectionMethod::isFinal' => ['bool'],
9194-
'ReflectionMethod::isPrivate' => ['bool'],
9195-
'ReflectionMethod::isProtected' => ['bool'],
9196-
'ReflectionMethod::isPublic' => ['bool'],
9197-
'ReflectionMethod::isStatic' => ['bool'],
9198-
'ReflectionMethod::setAccessible' => ['void', 'visible'=>'bool'],
9199-
'ReflectionNamedType::__toString' => ['string'],
9200-
'ReflectionNamedType::allowsNull' => ['bool'],
9201-
'ReflectionNamedType::getName' => ['string'],
9202-
'ReflectionNamedType::isBuiltin' => ['bool'],
9203-
'ReflectionObject::__construct' => ['void', 'argument'=>'object'],
9204-
'ReflectionObject::export' => ['string|null', 'argument'=>'object', 'return='=>'bool'],
9205-
'ReflectionParameter::__clone' => ['void'],
9206-
'ReflectionParameter::__construct' => ['void', 'function'=>'', 'parameter'=>''],
9207-
'ReflectionParameter::__toString' => ['string'],
9208-
'ReflectionParameter::allowsNull' => ['bool'],
9209-
'ReflectionParameter::canBePassedByValue' => ['bool'],
9210-
'ReflectionParameter::export' => ['string|null', 'function'=>'string', 'parameter'=>'string', 'return='=>'bool'],
9211-
'ReflectionParameter::getClass' => ['ReflectionClass|null'],
9212-
'ReflectionParameter::getDeclaringClass' => ['ReflectionClass|null'],
9213-
'ReflectionParameter::getDeclaringFunction' => ['ReflectionFunctionAbstract'],
9214-
'ReflectionParameter::getDefaultValue' => ['mixed'],
9215-
'ReflectionParameter::getDefaultValueConstantName' => ['?string'],
92169068
'ReflectionParameter::getName' => ['non-empty-string'],
9217-
'ReflectionParameter::getPosition' => ['int'],
9218-
'ReflectionParameter::getType' => ['ReflectionType|null'],
9219-
'ReflectionParameter::hasType' => ['bool'],
9220-
'ReflectionParameter::isArray' => ['bool'],
9221-
'ReflectionParameter::isCallable' => ['bool'],
9222-
'ReflectionParameter::isDefaultValueAvailable' => ['bool'],
9223-
'ReflectionParameter::isDefaultValueConstant' => ['bool'],
9224-
'ReflectionParameter::isOptional' => ['bool'],
9225-
'ReflectionParameter::isPassedByReference' => ['bool'],
9226-
'ReflectionParameter::isVariadic' => ['bool'],
9227-
'ReflectionProperty::__clone' => ['void'],
9228-
'ReflectionProperty::__construct' => ['void', 'class'=>'', 'name'=>'string'],
9229-
'ReflectionProperty::__toString' => ['string'],
9230-
'ReflectionProperty::export' => ['string|null', 'class'=>'mixed', 'name'=>'string', 'return='=>'bool'],
9231-
'ReflectionProperty::getDeclaringClass' => ['ReflectionClass'],
9232-
'ReflectionProperty::getDocComment' => ['string|false'],
9233-
'ReflectionProperty::getModifiers' => ['int'],
92349069
'ReflectionProperty::getName' => ['non-empty-string'],
9235-
'ReflectionProperty::getValue' => ['mixed', 'object='=>'object'],
9236-
'ReflectionProperty::isDefault' => ['bool'],
9237-
'ReflectionProperty::isPrivate' => ['bool'],
9238-
'ReflectionProperty::isProtected' => ['bool'],
9239-
'ReflectionProperty::isPublic' => ['bool'],
9240-
'ReflectionProperty::isStatic' => ['bool'],
9241-
'ReflectionProperty::setAccessible' => ['void', 'visible'=>'bool'],
92429070
'ReflectionProperty::setValue' => ['void', 'object'=>'null|object', 'value'=>''],
92439071
'ReflectionProperty::setValue\'1' => ['void', 'value'=>''],
9244-
'ReflectionType::__toString' => ['string'],
9245-
'ReflectionType::allowsNull' => ['bool'],
9246-
'ReflectionType::isBuiltin' => ['bool'],
9247-
'ReflectionZendExtension::__clone' => ['void'],
9248-
'ReflectionZendExtension::__construct' => ['void', 'name'=>'string'],
9249-
'ReflectionZendExtension::__toString' => ['string'],
9250-
'ReflectionZendExtension::export' => ['string|null', 'name'=>'string', 'return='=>'bool'],
9251-
'ReflectionZendExtension::getAuthor' => ['string'],
9252-
'ReflectionZendExtension::getCopyright' => ['string'],
9253-
'ReflectionZendExtension::getName' => ['string'],
9254-
'ReflectionZendExtension::getURL' => ['string'],
9255-
'ReflectionZendExtension::getVersion' => ['string'],
92569072
'Reflector::__toString' => ['string'],
92579073
'Reflector::export' => ['?string'],
92589074
'RegexIterator::__construct' => ['void', 'iterator'=>'Iterator', 'regex'=>'string', 'mode='=>'int', 'flags='=>'int', 'preg_flags='=>'int'],

0 commit comments

Comments
 (0)