Skip to content

Add warning for arguments in stubs that doesn't have any type info #5627

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 1 commit into from

Conversation

kocsismate
Copy link
Member

No description provided.

@kocsismate kocsismate force-pushed the stub-param-type-warning branch from 549ce7c to a9f4970 Compare May 26, 2020 09:25
@kocsismate kocsismate force-pushed the stub-param-type-warning branch from c53fe7c to 73ee69f Compare July 2, 2020 13:03
@kocsismate kocsismate marked this pull request as draft July 2, 2020 13:04
@kocsismate kocsismate force-pushed the stub-param-type-warning branch from 73ee69f to b5fdec2 Compare July 28, 2020 21:02
@kocsismate kocsismate force-pushed the stub-param-type-warning branch from b5fdec2 to 215e50d Compare July 29, 2020 06:25
@kocsismate kocsismate marked this pull request as ready for review July 29, 2020 06:27
php-pulls pushed a commit that referenced this pull request Jul 30, 2020
@kocsismate kocsismate force-pushed the stub-param-type-warning branch from ae4b6b5 to 64058f5 Compare July 30, 2020 12:32
@kocsismate kocsismate marked this pull request as draft August 1, 2020 21:29
@nikic
Copy link
Member

nikic commented Aug 7, 2020

How many warnings do we have after the last two PRs?

@kocsismate
Copy link
Member Author

@nikic Only 60! :) And I'm already working on the next batch. If there's no need to write too much code, I'll create a single PR for all.

@kocsismate
Copy link
Member Author

I'm wondering how to proceed now that we'll soon have all the missing types. Can we throw an exception instead of the warning?

I'm asking this because even though it would be no longer a problem for php-src, but there might be extensions which need a bit more permissiveness.

@kocsismate kocsismate marked this pull request as ready for review August 13, 2020 12:50
@kocsismate kocsismate force-pushed the stub-param-type-warning branch from 64058f5 to 86a9a63 Compare August 13, 2020 12:55
@php-pulls php-pulls closed this in a10f887 Aug 13, 2020
@kocsismate kocsismate deleted the stub-param-type-warning branch August 13, 2020 13:21
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.

4 participants