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

Manually merge 2.12.x into 3.0.x #4381

Merged
merged 27 commits into from
Oct 22, 2020
Merged

Manually merge 2.12.x into 3.0.x #4381

merged 27 commits into from
Oct 22, 2020

Conversation

greg0ire
Copy link
Member

No description provided.

morozov and others added 26 commits October 18, 2020 19:01
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.
Fail on extension / tool installation failure
…ption-annotation

Adds exception thrown by execute() method
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": "*",
Copy link
Member

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.

Copy link
Member

@SenseException SenseException Oct 22, 2020

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?

Copy link
Member

@morozov morozov Oct 22, 2020

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).

@@ -3,6 +3,7 @@
namespace Doctrine\DBAL\Query;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver\ResultStatement;
Copy link
Member

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.

Copy link
Member Author

@greg0ire greg0ire Oct 22, 2020

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 🤔

@greg0ire greg0ire merged commit 7a9306b into doctrine:3.0.x Oct 22, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants