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

Add test case for false positive RedundantCondition with boolean operator #4032

Closed
wants to merge 1 commit into from
Closed

Add test case for false positive RedundantCondition with boolean operator #4032

wants to merge 1 commit into from

Conversation

MorrisJobke
Copy link
Contributor

Found while introducing Psalm to the Nextcloud code base.

Unfortunately this is only the test case that shows the problem and is missing the actual fix. Feel free to just push to this branch to fix the issue.

cc @rullzer @kesselb

…ator

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
MorrisJobke added a commit to nextcloud/server that referenced this pull request Aug 20, 2020
One is a false positive - see vimeo/psalm#4032

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
kesselb pushed a commit to nextcloud/server that referenced this pull request Aug 31, 2020
One is a false positive - see vimeo/psalm#4032

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
@MorrisJobke
Copy link
Contributor Author

@weirdan @muglug Anything I can help here with?

@muglug
Copy link
Collaborator

muglug commented Oct 7, 2020

This PR isn't, itself, particularly useful, so I'm closing – it needs to exist as an issue (which I believe it already does).

@muglug muglug closed this Oct 7, 2020
@kesselb
Copy link
Contributor

kesselb commented Oct 7, 2020

Thanks 👍

I will subscribe to #1340 then.

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.

None yet

3 participants