-
Notifications
You must be signed in to change notification settings - Fork 821
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
API Rename Deprecation::withNoReplacement #11390
API Rename Deprecation::withNoReplacement #11390
Conversation
5c52b5b
to
f4d5b7b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
withSuppressedWarning()
should be withSurpressedNotice()
as we're surpressing Deprecation::notice()
This applies to all PRs linked in the issue
Arguably the notice method is poorly named but to avoid ping pong and unnecessary additional effort I'll update the new method name. |
f4d5b7b
to
87beabe
Compare
src/Dev/Deprecation.php
Outdated
private static bool $insideWithNoReplacement = false; | ||
private static bool $insideWarningSuppression = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You didn't mention it but I assume you want these renamed too, so I'll do that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
87beabe
to
96284f3
Compare
Issue