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

Warn on API deprecation #250

Merged
merged 1 commit into from
Jul 7, 2016
Merged

Warn on API deprecation #250

merged 1 commit into from
Jul 7, 2016

Conversation

drewish
Copy link

@drewish drewish commented Jul 7, 2016

This will start printing warning messages when a deprecated API version is detected. Ideally we'd be doing something like trigger_error($message, E_USER_DEPRECATED) but I'm worried people might not have error_reporting() set to a compatible level to avoid it being treated as a fatal error.

@bhelx
Copy link
Contributor

bhelx commented Jul 7, 2016

👍

@bhelx bhelx merged commit 26b9b16 into api-2.3 Jul 7, 2016
@bhelx bhelx deleted the warn-on-deprecation branch July 7, 2016 21:40
@drewish drewish mentioned this pull request Jul 7, 2016
@bhelx bhelx added the V2 V2 Client label Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
V2 V2 Client
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants