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

User Deprecated: This method is considered internal, only instantiated by its driver #10

Closed
2 tasks done
zoilomora opened this issue Nov 25, 2020 · 0 comments · Fixed by #11
Closed
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@zoilomora
Copy link
Owner

zoilomora commented Nov 25, 2020

Environment

XAMPP x64-7.4.11

Platform: Win32NT
Version: 10.0.19041.0
PHP 7.4.11 (cli) (built: Sep 29 2020 13:18:06) ( ZTS Visual C++ 2017 x64 )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Xdebug v2.8.1, Copyright (c) 2002-2019, by Derick Rethans
Symfony 5.1.8 (env: dev, debug: true)

Issue

When the library is used, these two information messages appear (the library is still working) indicating actions to follow to stop using internal classes:

[info] User Deprecated: The "Doctrine\DBAL\Driver\PDOConnection::__construct()" method is considered internal The connection can be only instantiated by its driver. It may change without further notice. You should not extend it from "ZoiloMora\Doctrine\DBAL\Driver\MicrosoftAccess\PDO\Connection".

[info] User Deprecated: The "Doctrine\DBAL\Driver\PDOStatement::__construct()" method is considered internal The statement can be only instantiated by its driver connection. It may change without further notice. You should not extend it from "ZoiloMora\Doctrine\DBAL\Driver\MicrosoftAccess\Statement".

List of classes to fix

  • ZoiloMora\Doctrine\DBAL\Driver\MicrosoftAccess\PDO\Connection
  • ZoiloMora\Doctrine\DBAL\Driver\MicrosoftAccess\Statement
@zoilomora zoilomora added the bug Something isn't working label Nov 25, 2020
@zoilomora zoilomora self-assigned this Nov 25, 2020
@zoilomora zoilomora linked a pull request Nov 25, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant