Plugin for PHP 8
Opened this issue · 4 comments
wntonto commented
Recently install cakephp 4 over PHP 8 and this work good and faster, less the cakedc oracle plugin not working. Version PDO and OCI is different in OCI8Statement.php file.
Any option of upgrade this plugin?
wntonto commented
I have tested the 5.x plugin with PHP 8.2 and it does not throw any compatibility errors with the PHP version. However, there is an error when instantiating the 'trait' ConfigTrait, which is not used. Additionally, the 'config()' method present in Cake/Database/Driver is incompatible with ConfigTrait.
alphp commented
First changes made.
https://github.com/alphp/cakephp-oracle-driver/tree/5.x-php-8.x
Fot testing:
composer config repositories.cakephp-oracle-driver git "https://github.com/alphp/cakephp-oracle-driver"
composer require cakedc/cakephp-oracle-driver dev-5.x-php-8.x
graemevarga commented
graemevarga commented
@alphp thank you!