-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Shopware is only PHP 8.1 compatible starting from v6.4.6.0 #2881
Comments
We don't release patch updates for older versions. Update to a newer version |
@shyim That's not the point. I know you won't patch older versions. But I think SW should be more careful with these kind of things. If composer.json states that a certain release is compatible with a certain php version, it should also be compatible. You can't just mess around with this stuff... How can we otherwise trust the composer.json dependencies and requirements in the future... |
Thanks for the input, we have now limited the upper bound for the supported php versions, starting with v6.5.0.0. See 12dcffb for reference. |
PHP Version
8.1
Shopware Version
6.4.4.1
Expected behaviour
According to the composer.json file Shopware 6.4.4.1 should be PHP 8.1 compatible. But it's not...
Because the necessary changes (d8214c7) are only available in v6.4.6.0
Actual behaviour
6.4.4.1 should be PHP 8.1 compatible according to composer.json
How to reproduce
Try to run Shopware 6.4.4.1 on PHP 8.1. You 'll seen encounter errors:
Shopware\Core\Framework\DataAbstractionLayer\EntityDefinition::decode(): Argument #2 ($value) must be of type ?string, int given
This is because the necessary change:
'driverOptions' => [ \PDO::ATTR_STRINGIFY_FETCHES => true, ],
is not available in 6.4.4.1
The text was updated successfully, but these errors were encountered: