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

API Deprecate API that will be removed #91

Merged

Conversation

GuySartorelli
Copy link
Member

*/
protected function log($message)
{
Deprecation::notice('2.3.0', 'Will be removed without equivalent functionality to replace it');
Copy link
Member

@emteknetnz emteknetnz Sep 12, 2024

Choose a reason for hiding this comment

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

Wrap this in withNoReplacement() rather than all the things calling it

Do this in this PR and all other CMS 5 PRs linked in the parent issue

Copy link
Member Author

Choose a reason for hiding this comment

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

Wrap this in withNoReplacement() rather than all the things calling it

As discussed in person it's more appropriate to wrap the things calling it, so that developers calling it from their own code get an appropriate deprecation warning.

@emteknetnz emteknetnz merged commit a954c0e into silverstripe:2 Sep 13, 2024
8 checks passed
@emteknetnz emteknetnz deleted the pulls/2/cms5-for-sakesymfony branch September 13, 2024 05:19
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