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

Introduce NonVariableReferenceReturn issue #10227

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

tuqqu
Copy link
Contributor

@tuqqu tuqqu commented Sep 24, 2023

Emit a NonVariableReferenceReturn issue when returning by-reference functions return a non-variable reference.

Currently, PHP produces a notice when such a function is invoked: https://3v4l.org/bMabU

Close: #8047

@tuqqu tuqqu force-pushed the non-variable-reference-return branch from 39ce6c5 to 0c28077 Compare September 24, 2023 19:20
@tuqqu tuqqu force-pushed the non-variable-reference-return branch from 0c28077 to 0ab4c2a Compare September 24, 2023 19:28
@orklah orklah added the release:feature The PR will be included in 'Features' section of the release notes label Sep 28, 2023
@orklah
Copy link
Collaborator

orklah commented Sep 28, 2023

Thanks!

@orklah orklah merged commit 1f979f4 into vimeo:master Sep 28, 2023
39 of 40 checks passed
@tuqqu tuqqu deleted the non-variable-reference-return branch September 28, 2023 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:feature The PR will be included in 'Features' section of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants