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

Plugin for PHP 8 #70

Open
wntonto opened this issue Apr 24, 2023 · 4 comments
Open

Plugin for PHP 8 #70

wntonto opened this issue Apr 24, 2023 · 4 comments

Comments

@wntonto
Copy link

wntonto commented Apr 24, 2023

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
Copy link
Author

wntonto commented Nov 20, 2023

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
Copy link
Contributor

alphp commented Nov 24, 2023

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
Copy link

graemevarga commented Jun 17, 2024

Hi @alphp I tested and confirmed this resolved the issue with the config() method and ConfigTrait that @wntonto reported. Can this be merged with main soon?

@graemevarga
Copy link

@alphp thank you!

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

No branches or pull requests

3 participants