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

Deprecation class enhancements #11428

Closed
4 tasks done
emteknetnz opened this issue Oct 16, 2024 · 1 comment
Closed
4 tasks done

Deprecation class enhancements #11428

emteknetnz opened this issue Oct 16, 2024 · 1 comment

Comments

@emteknetnz
Copy link
Member

emteknetnz commented Oct 16, 2024

Acceptance criteria

  • Update Deprecation::outputNotices() to filter out any calls from vendor/silverstripe and other supported module paths by default when emitting deprecation notices (unless enabled)
  • A new option is added to enable emitting deprecation notices from calls from core code
  • Create Deprecation::noticeNoReplacement($version, $message, $scope) which includes includes Deprecation::withSurpressedNotice() and a generic message if $message is blank
  • https://docs.silverstripe.org/en/5/upgrading/deprecations/#enabling-deprecation-warnings is updated

Kitchenk sink CI

PRs

@GuySartorelli
Copy link
Member

PRs merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants