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 #162

Merged

Conversation

GuySartorelli
Copy link
Member

Copy link
Member

@emteknetnz emteknetnz left a comment

Choose a reason for hiding this comment

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

You need to call Deprecation::notice() inside of Deprecation::withNoReplacement(), and also need to add @deprecated annotations in the relevant places - do this for this PR and all other CMS PRs linked in the parent issue

Example https://github.com/silverstripe/silverstripe-admin/blob/1/code/MemberImportForm.php#L32

@GuySartorelli GuySartorelli force-pushed the pulls/5/cms5-for-sakesymfony branch from d58eb0d to dc44630 Compare September 12, 2024 21:49
@GuySartorelli
Copy link
Member Author

Fixed. I think. I'm pretty sure I do have @deprecated in the right place so you'll need to point out where I'm missing that more specifically.

@emteknetnz emteknetnz merged commit f7ba0a5 into silverstripe:5 Sep 13, 2024
9 checks passed
@emteknetnz emteknetnz deleted the pulls/5/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