Allow symfony/mime ^5.4
/ Unlock contao 4.13 again
#224
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.
Description
TL;DR:
Contao Haste in 5.2 is not installable on Contao 4.13
#221 introduced
symfony/mime
as a dependency, however, the minimum requirements were set to^6.0 || ^7.0
.Contao 4.13 needs
symfony/mime
in^5.4
.I've installed the change on a 4.13 with
![image](https://private-user-images.githubusercontent.com/55794780/345394286-3981ec28-d567-4338-9ef9-802f32dd835d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTEzNjEsIm5iZiI6MTczOTI5MTA2MSwicGF0aCI6Ii81NTc5NDc4MC8zNDUzOTQyODYtMzk4MWVjMjgtZDU2Ny00MzM4LTllZjktODAyZjMyZGQ4MzVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDE2MjQyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYzZmY4ZTY0ZTNkZWY4MzMxNDA5MGUyODllYjI4OTAwYjc5NWMxZmM1OTNiNmJiMDJmM2VlYjYzOTRjMTFhYmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3pHw8S_1rzP2-fzPBvBgTYoyu_w36ytmj4_sU_YdT6g)
symfony/mime
^5.4 installed and did run the tests:There is also no BC changes in the MimeTypeGuesser:
Changelog:
https://github.com/symfony/mime/blob/6.4/CHANGELOG.md