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

Add support for ignoring deprecations by path #14925

Merged
merged 8 commits into from
Aug 28, 2020
Merged

Conversation

markstory
Copy link
Member

Being able to have deprecations on globally but silence problematic
parts of your application or a noisy plugin that can't be upgraded just
yet allows developers more control when upgrading.

Instead of having to hope they don't add new deprecations they can fix
a part of their application and then remove it from the deprecation
ignore patterns.

I've used glob here instead of regex as I don't think the power of regex
is needed for this.

Refs #14915
Refs cakephp/app#803

Being able to have deprecations on globally but silence problematic
parts of your application or a noisy plugin that can't be upgraded just
yet allows developers more control when upgrading.

Instead of having to hope they don't add new deprecations they can fix
a part of their application and then remove it from the deprecation
ignore patterns.

I've used glob here instead of regex as I don't think the power of regex
is needed for this.

Refs #14915
@markstory markstory added this to the 4.2.0 milestone Aug 23, 2020
src/Core/functions.php Outdated Show resolved Hide resolved
src/Core/functions.php Outdated Show resolved Hide resolved
src/Core/functions.php Outdated Show resolved Hide resolved
@dereuromark dereuromark merged commit e194b11 into 4.next Aug 28, 2020
@dereuromark dereuromark deleted the deprecation-disable branch August 28, 2020 09:56
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.

None yet

3 participants