-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Manually merge 2.12.x into 3.0.x #4381
Conversation
[2.12] PHP 8 compatibility
It has support for PHP8.
That test will get remove in next major release, and requires too much maintenance.
Jobs that use other versions of PHP are temporarily removed so that it's easier to focus and iterate.
This leverages a new feature of shivammathur/setup-php that allows to fail the build if an extension or tool fails to install.
Move the logic out of the assertion
My IDE was telling me I was trying to catch a non-existent exception, however it's clear by digging down a level that the Exception is throw by this class, so this simply annotates that. Perhaps this should catch it and throw a QueryException?
Test the newest version, the oldest version, and versions for which we have version-specific code. This is based on platform classes that have a version number in their name.
Psalm fails on release commits
Fail on extension / tool installation failure
…ption-annotation Adds exception thrown by execute() method
…-jobs Reduce number of build jobs
Configuration should not be internal
composer.json
Outdated
@@ -31,7 +31,8 @@ | |||
{"name": "Jonathan Wage", "email": "jonwage@gmail.com"} | |||
], | |||
"require": { | |||
"php": "^7.3 || ^8.0", | |||
"php": "^7.3 || ^8", | |||
"ext-pdo": "*", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be reverted. The change in the first line is non-essential, the addition of the second line is wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrong second line for 3.0 or does this also affect 2.12?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only wrong for 3.0.x
(#2958).
src/Query/QueryBuilder.php
Outdated
@@ -3,6 +3,7 @@ | |||
namespace Doctrine\DBAL\Query; | |||
|
|||
use Doctrine\DBAL\Connection; | |||
use Doctrine\DBAL\Driver\ResultStatement; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a mistake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, and it's weird phpcs does not complain about this 🤔
No description provided.