-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Fix arginfo generation from stubs for namespaced functions #9406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
b6a19c9
b9a179c
42574da
248f47e
6e98cb1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -109,6 +109,15 @@ function zend_test_compile_string(string $source_string, string $filename, int $ | |
/** @deprecated */ | ||
function zend_test_deprecated(mixed $arg = null): void {} | ||
|
||
/** @alias zend_test_alias */ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. There was a problem with the aliases. If you run |
||
function zend_test_aliased(): void {} | ||
|
||
/** | ||
* @deprecated | ||
* @alias zend_test_deprecated_alias | ||
*/ | ||
function zend_test_deprecated_aliased(): void {} | ||
|
||
function zend_create_unterminated_string(string $str): string {} | ||
|
||
function zend_terminate_string(string &$str): void {} | ||
|
@@ -168,6 +177,20 @@ class Foo { | |
public function method(): void {} | ||
} | ||
|
||
function namespaced_func(): bool {} | ||
|
||
/** @deprecated */ | ||
function namespaced_deprecated_func(): void {} | ||
|
||
/** @alias namespaced_alias_func */ | ||
function namespaced_aliased_func(): void {} | ||
|
||
/** | ||
* @deprecated | ||
* @alias namespaced_deprecated_alias_func | ||
*/ | ||
function namespaced_deprecated_aliased_func(): void {} | ||
|
||
} | ||
|
||
namespace ZendTestNS2\ZendSubNS { | ||
|
@@ -178,4 +201,16 @@ public function method(): void {} | |
|
||
function namespaced_func(): bool {} | ||
|
||
/** @deprecated */ | ||
function namespaced_deprecated_func(): void {} | ||
|
||
/** @alias namespaced_alias_func */ | ||
function namespaced_aliased_func(): void {} | ||
|
||
/** | ||
* @deprecated | ||
* @alias namespaced_deprecated_alias_func | ||
*/ | ||
function namespaced_deprecated_aliased_func(): void {} | ||
|
||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed the conflict and slightly adjusted the wording. Feel free to change it should you find any issues with it.