-
Notifications
You must be signed in to change notification settings - Fork 401
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
PHP 8.0: TraceablePDO causes Fatal error #459
Comments
Hi, I also have this problem. We need update to PHP 8 |
#460 got merged but this is not auto-closed. |
Any progress on PHP 8.0 support? I commented out Debug Bar for now, as it is completely broken in PHP 8.0. Sounds like a version tag issue. Any reason not to release label a v1.16.5 release? Seems like the last commit is pretty trivial and will fix the issue. |
Isn't this fixed in v1.6.4? |
From composer.lock:
PHP 8.0.0: Fatal error: Declaration of DebugBar\DataCollector\PDO\TraceablePDO::query($statement) must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) Looks like the most recent commit will fix this. |
I've tagged a new release, unfortunately it can take up to 24 hours to detect this tag, as the hook is not configured correctly and I can't change that. |
Awesome! Thanks. Not updated on Packagist yet, but I'll check tonight. Now to get my Slack library to update to 8.0. |
Packagist has been updated. I upgraded and all good now. I think we can close this issue. Thanks again for the new tag. |
This still isn't included in the latest release? No annotations or return type hint present in 1.17.3? |
There are still several outstanding PHP 8.1 issues. I put in PR #497 that should fix most of them. Since these are all trivial non logic type fixes, they should be no-brainers to merge and release. Right now, DebugBar does not work on PHP 8.1 really. |
The text was updated successfully, but these errors were encountered: