Create additional autoloader for PHP 8.1+#1512
Merged
Quetzacoalt91 merged 2 commits intoPrestaShop:devfrom Nov 12, 2025
Merged
Conversation
This was referenced Oct 23, 2025
ga-devfront
approved these changes
Oct 23, 2025
b0fb8c9 to
f34f28e
Compare
ga-devfront
approved these changes
Oct 29, 2025
f34f28e to
0dd4552
Compare
0dd4552 to
1b09522
Compare
ga-devfront
previously approved these changes
Nov 4, 2025
M0rgan01
reviewed
Nov 4, 2025
|
M0rgan01
approved these changes
Nov 7, 2025
AureRita
approved these changes
Nov 12, 2025
Contributor
AureRita
left a comment
There was a problem hiding this comment.
Thank you for your PR, I tested it and it seems to works .
Tested from :
1.7.8.9 to 8.2.3 to 9.0.1
8.2.2 classic to 8.2.3
8.2.2 classic to 9.0.1 with php 8.1
8.2.2 classic to 9.0.1 with php 8.3
8.0.3 to 8.2.3
8.0.3 to 9.0.1
Because the PR seems to works as expected, It's QA ✔️
Thank you
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



symfony/consolewhen we load Symfony while updating in CLI. This is caused by the dependencies we have on our maincomposer.jsonthat lack the strict typing we are supposed to have on PrestaShop v9.To improve the situation, we create a variant of our dependencies that will be loaded first in CLI while running PHP 8.1+. This is hacky but this allows us to keep one module to maintain for PrestaShop 1.7 ~ 9.