zoilomora / doctrine-dbal-msaccess

An implementation of the doctrine/dbal library to support Microsoft Access databases in Microsoft OS.
https://packagist.org/packages/zoilomora/doctrine-dbal-msaccess
MIT License
16 stars 10 forks source link

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

Closed zoilomora closed 3 years ago

zoilomora commented 3 years ago

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