From 4f892118106741b1765c4704d1feb89a4eade38a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Kocsis?= Date: Wed, 19 Feb 2020 00:00:50 +0100 Subject: Remove the deprecated reflection export methods Closes GH-5188 --- ext/reflection/php_reflection.stub.php | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'ext/reflection/php_reflection.stub.php') diff --git a/ext/reflection/php_reflection.stub.php b/ext/reflection/php_reflection.stub.php index 76cbe75dd7..dc6b701473 100644 --- a/ext/reflection/php_reflection.stub.php +++ b/ext/reflection/php_reflection.stub.php @@ -8,8 +8,6 @@ class Reflection { /** @return string[] */ public static function getModifierNames(int $modifiers) {} - - public static function export(Reflector $reflector, bool $return = false) {} } interface Reflector @@ -106,8 +104,6 @@ class ReflectionFunction extends ReflectionFunctionAbstract /** @return string */ public function __toString() {} - public static function export($name, bool $return = false) {} - /** @return bool */ public function isDisabled() {} @@ -150,8 +146,6 @@ class ReflectionMethod extends ReflectionFunctionAbstract /** @return string */ public function __toString() {} - public static function export($class, $name, bool $return = false) {} - /** @return bool */ public function isPublic() {} @@ -200,8 +194,6 @@ class ReflectionClass implements Reflector { final private function __clone() {} - public static function export($argument, bool $return = false) {} - /** @param object|string $argument */ public function __construct($argument) {} @@ -366,16 +358,12 @@ class ReflectionClass implements Reflector class ReflectionObject extends ReflectionClass { public function __construct(object $argument) {} - - public static function export($argument, bool $return = false) {} } class ReflectionProperty implements Reflector { final private function __clone() {} - public static function export($class, $name, bool $return = false) {} - /** @param string|object $class */ public function __construct($class, string $name) {} @@ -436,8 +424,6 @@ class ReflectionClassConstant implements Reflector { final private function __clone() {} - public static function export($class, $name, bool $return = false) {} - /** @return string|object */ public function __construct($class, string $name) {} @@ -472,8 +458,6 @@ class ReflectionParameter implements Reflector { final private function __clone() {} - public static function export($function, $parameter, bool $return = false) {} - /** * @param string|array|object * @param int|string @@ -566,8 +550,6 @@ class ReflectionExtension implements Reflector { final private function __clone() {} - public static function export($name, bool $return = false) {} - public function __construct(string $name) {} /** @return string */ @@ -611,8 +593,6 @@ class ReflectionZendExtension implements Reflector { final private function __clone() {} - public static function export($name, bool $return = false) {} - public function __construct(string $name) {} /** @return string */ -- cgit v1.2.1