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

Extracted the FileUploadNormalizer service #346

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

Toflar
Copy link
Member

@Toflar Toflar commented Jul 3, 2024

I don't want to introduce BC here because that service is very unlikely to have been used by third party bundles (and even if they did, that was never intended). I've moved it to haste in codefog/contao-haste#221 where it's better suited and also used by mp_forms now.

If you stumble over this PR and you actually did use it (again, you were not supposed to and I won't provide a BC layer), you can fix your code very easily: require ^5.2 of codefog/contao-haste and use Codefog\HasteBundle\FileUploadNormalizer instead of Terminal42\NotificationCenterBundle\Util\FileUploadNormalizer.

Toflar added 2 commits July 3, 2024 11:11
# Conflicts:
#	src/Util/FileUploadNormalizer.php
#	tests/Util/FileUploadNormalizerTest.php
@Toflar Toflar merged commit 86388e4 into main Jul 3, 2024
8 checks passed
@Toflar Toflar deleted the fix/centralize-fileuploadnormalizer branch July 3, 2024 09:19
@zoglo
Copy link

zoglo commented Jul 3, 2024

@Toflar
codefog/contao-haste needs at least symfony/mime: ^6.0 which doesn't work with Contao 4.13 since it runs on symfony 5 (and uses symfony/mine ^5.4)

Meaning:
You can not install NC 2.0.10 and it's Contao 5 only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants