-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Mark eligible classes final #3585
Comments
The world is not perfect nor bug free. Currently, in the atk4/data project, I fixed a lot of issues by extending the specific DB platform. It works well. Most of the issues, I reported here or even proposed a PR. Such fixing is impossible when the classes are declared final. Would it be possible to remove the |
The platform classes are not final, so you can continue to do this.
I don't believe that this is really necessary. The DBAL has a well defined driver and middleware architecture that should allow you to easily implement your own driver or hook into whatever the bundled drivers are doing. If you feel like you need to patch the driver classes, these are your options:
|
One example are driver |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The issue was originally raised in #3007 (comment).
A quick check with Ocramius/Finalizer shows:
For all finalized classes, all their properties and protected methods should be declard private and renamed if they violate the PSR-2 naming conventions.
The text was updated successfully, but these errors were encountered: