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

Revert "Mark Logger @final to discourage extension" #1827

Closed
wants to merge 1 commit into from
Closed

Revert "Mark Logger @final to discourage extension" #1827

wants to merge 1 commit into from

Conversation

nicolas-grekas
Copy link
Contributor

This reverts commit 3cba75e.

This @final annotation is quite hard to work around in Symfony, see eg symfony/symfony#51229, which is a dead end according to @stof.

But instead of completing the work around, I'd like to propose to simply revert the annotation. This class has no interfaces for its non-PSR methods, and I don't think making the class final helps maintenance significantly (does it?)

On the other hand, the cost of making this final looks high, on our side at least.

🙏

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.

1 participant