You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to install CI with PHP 8 in my project and I get a Fatal Error because of incompatible signatures
Current behaviour
PHP Fatal error: Declaration of Doctrine\DBAL\Driver\PDOConnection::query() must be compatible with PDO::query(string $statement) in /home/runner/work/inspar/inspar/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 70
Is this a known issue? Maybe it's a little early to worry about PHP 8?
The text was updated successfully, but these errors were encountered:
…ersion (derrabus)
This PR was merged into the 3.4 branch.
Discussion
----------
Skip Doctrine DBAL on php 8 until we have a compatible version
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Tickets | #36872
| License | MIT
| Doc PR | N/A
This PR skips all tests on php 8 that would trigger an autoload on DBAL's `PDOConnection`. Those tests would exit with a fatal error because of incompatible method signatures (see doctrine/dbal#3791) and until we can test against a compatible version of DBAL, there's (at least from my point of view) nothing we can do about it. Once this issue is resolved, we can revert this change.
Commits
-------
1090738 Skip Doctrine DBAL on php 8 until we have a compatible version.
Bug Report
Summary
I tried to install CI with PHP 8 in my project and I get a Fatal Error because of incompatible signatures
Current behaviour
Is this a known issue? Maybe it's a little early to worry about PHP 8?
The text was updated successfully, but these errors were encountered: