Skip to content
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

PHP 8.0 | File::get[Method|Member][Parameters|Properties](): add unit test with "mixed" type #3018

Merged

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Jul 15, 2020

PHP 8.0 will introduce a new pseudo-type mixed.

This PR adds tests to the Core testsuite for the File::getMethodParameters(), File::getMethodProperties() and File::getMemberProperties() utility methods confirming that the mixed type is handled correctly by these methods without further changes.

Refs:

Partially addresses #2968

Partially replaces PR #3009, #3010, #3011

jrfnl added 3 commits July 15, 2020 02:44
No changes needed to the actual method, the parameter type is already handled correctly.
No changes needed to the actual method, the return type is already handled correctly.
No changes needed to the actual method, the property type is already handled correctly.
@jrfnl
Copy link
Contributor Author

jrfnl commented Jul 15, 2020

Note: as this doesn't contain any functional changes, this PR is safe to go into 3.5.6.

@gsherwood
Copy link
Member

Thanks

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