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

Deprecate WP-branded methods #18

Closed
johnpbloch opened this issue Dec 16, 2014 · 1 comment
Closed

Deprecate WP-branded methods #18

johnpbloch opened this issue Dec 16, 2014 · 1 comment
Labels
Enhancement New feature proposal or pull request
Milestone

Comments

@johnpbloch
Copy link
Contributor

After #17 has been completed, we need to deprecate the WP-branded method names. They'll still work, but they should be avoided and replaced in test suites.

I'd really like to have the methods create some sort of warning for PHPUnit that would alert the user to the fact that they're using a deprecated method and need to update their tests.

@johnpbloch johnpbloch added the Enhancement New feature proposal or pull request label Dec 16, 2014
@johnpbloch johnpbloch added this to the 1.0 milestone Dec 16, 2014
@johnpbloch
Copy link
Contributor Author

I think this will probably involve a test listener of some kind.

GaryJones added a commit to GaryJones/wp_mock that referenced this issue Jan 2, 2016
Use the newly-renamed functions in the documentation examples.

See 10up#17.
See 10up#18.
johnpbloch added a commit that referenced this issue Dec 22, 2016
@jeffpaul jeffpaul added this to the 0.2.0 milestone Sep 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature proposal or pull request
Projects
None yet
Development

No branches or pull requests

2 participants