Skip to content

PHPC-1975: Disable SKIPIF caching for skip_if_not_clean on PHP 8.1 #1261

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

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

jmikola
Copy link
Member

@jmikola jmikola commented Sep 21, 2021

@jmikola jmikola requested a review from alcaeus September 21, 2021 18:14
Copy link
Member

@alcaeus alcaeus left a comment

Choose a reason for hiding this comment

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

LGTM - wording can stay if you don't like the alternative.

/**
* Disables SKIPIF caching (PHP 8.1+).
*/
function skip_if_nocache()
Copy link
Member

Choose a reason for hiding this comment

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

Nit: this suggests that this method skips tests if there's no cache. disable_skipif_caching seems more appropriate, but I defer to your judgment.

Copy link
Member Author

Choose a reason for hiding this comment

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

That thought did occur to me when writing this. I agree that disable_skipif_caching is a much better name.

@jmikola jmikola merged commit ce6b11d into mongodb:master Sep 24, 2021
@jmikola jmikola deleted the phpc-1975 branch September 24, 2021 18:05
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