Skip to content

Allow to ignore a dperecation on the next triggering.#4

Closed
beberlei wants to merge 1 commit intomasterfrom
IgnoreOnce
Closed

Allow to ignore a dperecation on the next triggering.#4
beberlei wants to merge 1 commit intomasterfrom
IgnoreOnce

Conversation

@beberlei
Copy link
Copy Markdown
Member

This is useful if you know you call a deprecated API next, but
its necessary for the transition towards the new API to do this.

This is useful if you know you call a deprecated API next, but
its necessary for the transition towards the new API to do this.
Copy link
Copy Markdown
Member

@SenseException SenseException left a comment

Choose a reason for hiding this comment

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

You might want add this new method to the readme file.

@greg0ire
Copy link
Copy Markdown
Member

It's not a very common scenario but IIRC it does exist: it was an argument against using the phpunit-bridge, when we had APIs that were deprecated but that we still called internally.

@beberlei
Copy link
Copy Markdown
Member Author

I guess we should wait on this until we actually need it.

@beberlei beberlei closed this Feb 7, 2021
@beberlei beberlei deleted the IgnoreOnce branch February 7, 2021 18:28
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.

3 participants