Skip to content

Improve gen_stub.php #5350

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

Closed
wants to merge 2 commits into from

Conversation

kocsismate
Copy link
Member

Add support for generating deprecated function entries, as well as forward declaration of function aliases.

@kocsismate kocsismate force-pushed the stub-generator-improvement branch from a0e6ace to 23a3581 Compare April 4, 2020 19:39
Add support for generating deprecated function entries, as well as forward declaration
of function aliases.
@kocsismate kocsismate force-pushed the stub-generator-improvement branch 2 times, most recently from 001ea78 to 42dd726 Compare April 4, 2020 20:41
@kocsismate kocsismate force-pushed the stub-generator-improvement branch from 42dd726 to 50a90f1 Compare April 4, 2020 20:48
@@ -737,6 +743,7 @@ function generateCodeWithConditions(
}

function generateArgInfoCode(FileInfo $fileInfo): string {
$generatedDeclarations = [];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This variable can be moved closer to where it is used.

Copy link
Member Author

@kocsismate kocsismate Apr 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to do this - but I'll fix it soon

@php-pulls php-pulls closed this in 610815c Apr 4, 2020
@kocsismate kocsismate deleted the stub-generator-improvement branch April 4, 2020 21:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants