php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #78576 Annotate internal function argument and return types
Submitted: 2019-09-20 14:00 UTC Modified: 2019-11-02 10:56 UTC
From: bishop@php.net Assigned: cmb (profile)
Status: Closed Package: PHAR related
PHP Version: Next Major Version OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bishop@php.net
New email:
PHP Version: OS:

 

 [2019-09-20 14:00 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-11-02 10:56 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 13:01:30 2024 UTC