-
Notifications
You must be signed in to change notification settings - Fork 29
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
IBX-1489: Provided integration test for Installers for PHP8 #264
Conversation
a791e2f
to
f0d27f0
Compare
23a5492
to
a820c6b
Compare
699c05e
to
8925de1
Compare
eZ/Publish/Core/MVC/Symfony/FieldType/Tests/User/ParameterProviderTest.php
Show resolved
Hide resolved
The failing test case seems to be random, given it passes on all other PHP versions. Perhaps tests order comes into play. |
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.
It's a bit unclear to me why some changes were made and how they're related to what the PR is supposed to be fixing. Unfortunately the PR description is rather empty.
eZ/Publish/Core/Persistence/Tests/Legacy/FieldValue/Converter/ImageConverterTest.php
Outdated
Show resolved
Hide resolved
eZ/Bundle/EzPublishCoreBundle/Imagine/VariationPurger/LegacyStorageImageFileList.php
Outdated
Show resolved
Hide resolved
needs: tests | ||
services: | ||
mysql: | ||
image: mysql:5.7 |
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.
Note: A follow up draft PR with mysql:8.0
is necessary to show that there are tests that will fail on MySQL 8.
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.
+1 but Steve has some valid remarks: #264 (review) ;)
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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.
Tested with sanities on Ibexa Commerce 3.3.12-dev with PHP8.1.
QA Approved.
v3.3
Provides integration tests & fixes for PHP8 compatibility.
Notable changes:
Disabling transactions during schema import / install.
Due to a change in PHP's MySQL driver php/php-src@990bb34 for PHP8 it becomes necessary to handle a case where
Connection::commit()
throws an exception that there is no transaction (which happens after DDL SQL commands).Removal of PHP8 deprecation warnings
This includes:
string
, where other data types are possible. Especiallynull
orint
.Issues that will require addressing in the near future
DateTime
interval behavior. It is therefore disabled on this platform.Checklist:
$ composer fix-cs
).@ezsystems/engineering-team
).