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

Fix isset() on unexisting variable #1920

Merged
merged 2 commits into from
Mar 17, 2021
Merged

Conversation

deguif
Copy link
Collaborator

@deguif deguif commented Mar 17, 2021

This was caught with PHPStan as I'm working on adding static code analysis on the project.
See https://github.com/deguif/Elastica/runs/2130228841?check_suite_focus=true for WIP

@deguif deguif self-assigned this Mar 17, 2021
Copy link
Owner

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

Nice, this looks like a bug. Changelog?

@deguif
Copy link
Collaborator Author

deguif commented Mar 17, 2021

@ruflin I just added a changelog entry.

@deguif deguif merged commit f7d6da6 into ruflin:master Mar 17, 2021
@deguif deguif deleted the fix-undefined-variable branch March 17, 2021 13:09
@deguif deguif added this to the 7.1.1 milestone Mar 24, 2021
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