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

API Update deprecations #62

Closed

Conversation

emteknetnz
Copy link
Member

* @return Library[]
*/
protected function getAllModules()
{
Deprecation::notice('1.3.0', 'Use getAllLibraries() instead');
Copy link
Member

Choose a reason for hiding this comment

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

Framework isn't a dependency of this library. We could use raw PHP deprecation notice I guess?

@emteknetnz
Copy link
Member Author

Can't use the Deprecation class here as this is used by composer. I don't want to emit deprecation warnings here as there is no way to toggle them off. I think we're best to just leave things as they are. We can still remove the deprecated code in any new major versions.

@emteknetnz emteknetnz closed this Nov 21, 2022
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.

2 participants