Req #78576 [Opn->Csd]: Annotate internal function argument and return types
| From: | cmb@php.net | Date: | Sat, 02 Nov 2019 10:56:57 +0000 |
| Subject: | Req #78576 [Opn->Csd]: Annotate internal function argument and return types | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-223551@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78576&edit=1
ID: 78576
Updated by: cmb@php.net
Reported by: bishop@php.net
Summary: Annotate internal function argument and return types
-Status: Open
+Status: Closed
Type: Feature/Change Request
Package: PHAR related
PHP Version: Next Major Version
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Done with <http://git.php.net/?p=php-src.git;a=commit;h=4d067d811d8323d5293a43fb48d546421e082ecb>.
Previous Comments:
------------------------------------------------------------------------
[2019-09-20 14:00:23] bishop@php.net
Description:
------------
We're now annotating internal functions[1]:
> Lack of type information for internal functions in Reflection is a long-standing issue. In PHP
> 8 we finally have all the necessary technical groundwork done to support argument and return type
> annotations on internal functions at scale.
Scope of this ticket is to actually add that information to the phar functions, using Nikita's
exemplar[2] as reference.
[1]:https://externals.io/message/106522
[2]:https://github.com/php/php-src/pull/4499
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78576&edit=1