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

OCI8StatementTest fails on PHP 8 #3802

Closed
morozov opened this issue Dec 30, 2019 · 2 comments
Closed

OCI8StatementTest fails on PHP 8 #3802

morozov opened this issue Dec 30, 2019 · 2 comments

Comments

@morozov
Copy link
Member

morozov commented Dec 30, 2019

Q A
BC Break no
Version 2.10, 3.0-dev
$ phpunit tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8StatementTest.php
PHPUnit 8.4.1 by Sebastian Bergmann and contributors.

FF...

Time: 64 ms, Memory: 8.00 MB

There were 2 failures:

1) Doctrine\Tests\DBAL\Driver\OCI8\OCI8StatementTest::testExecute with data set #0 (array('test', null, 'value'))
Failed asserting that exception of type "TypeError" matches expected exception "Doctrine\DBAL\Driver\OCI8\OCI8Exception". Message was: "oci_execute() expects parameter 1 to be resource, null given" at
lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php:396
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8StatementTest.php:81
.

2) Doctrine\Tests\DBAL\Driver\OCI8\OCI8StatementTest::testExecute with data set #1 (array(null, 'test', 'value'))
Failed asserting that exception of type "TypeError" matches expected exception "Doctrine\DBAL\Driver\OCI8\OCI8Exception". Message was: "oci_execute() expects parameter 1 to be resource, null given" at
lib/Doctrine/DBAL/Driver/OCI8/OCI8Statement.php:396
tests/Doctrine/Tests/DBAL/Driver/OCI8/OCI8StatementTest.php:81
.
@morozov
Copy link
Member Author

morozov commented Mar 16, 2020

Closed via #3820.

@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant