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

Drop PHP 8.0 support #5543

Merged
merged 2 commits into from
Jul 28, 2022
Merged

Drop PHP 8.0 support #5543

merged 2 commits into from
Jul 28, 2022

Conversation

morozov
Copy link
Member

@morozov morozov commented Jul 28, 2022

The current plan is to release DBAL 4.0 while PHP 8.0 is still officially supported by the community. However, dropping its support now will allow for making some improvements.

For instance, we could replace the ParameterType class and similar ones with an enum and introduce more enums (e.g. for the foreign key constraint actions). Since this is a breaking change, not doing it now will require us to wait for another major DBAL release.

The support for PHP 8.0 is not part of the upgrade path from earlier DBAL versions. PHP 8.1 is also supported by DBAL 3.x.

@morozov morozov added the PHP label Jul 28, 2022
@morozov morozov added this to the 4.0.0 milestone Jul 28, 2022
@derrabus
Copy link
Member

To fix the low-deps job, change the version constraint of Symfony Console:

"symfony/console": "^4.4.30|^5.4|^6.0"

Alternatively, kick the 4.4 branch completely. It'll be security-only in a couple of months

"symfony/console": "^5.4|^6.0"

@morozov morozov marked this pull request as ready for review July 28, 2022 13:04
@@ -64,8 +64,7 @@ install:
Add-Content php.ini "`n extension=php_sqlite3.dll"
Add-Content php.ini "`n extension=php_curl.dll"

# Get and install the latest stable sqlsrv DLL's
$DLLVersion = (Invoke-WebRequest "https://pecl.php.net/rest/r/sqlsrv/stable.txt").Content
$DLLVersion = "5.10.0"
Copy link
Member Author

@morozov morozov Jul 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Windows builds are not always up to speed with PECL. According to PECL, the latest stable version is 5.10.1 but there are no corresponding Windows binaries.

It's been working so far thanks to the AppVeyor cache. We can switch back to the latest stable later once they sync up.

@morozov morozov merged commit 7e084b9 into doctrine:4.0.x Jul 28, 2022
@morozov morozov deleted the drop-php-8.0 branch July 28, 2022 13:33
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 29, 2023
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.

3 participants