Skip to content

Update to upstream 3.6.0 and fix mailer transport decorator boot without SwagCommercial#3

Merged
avareldev merged 8 commits into
mainfrom
update/mail-archive-3.6.0-with-mailer-fix
Jun 19, 2026
Merged

Update to upstream 3.6.0 and fix mailer transport decorator boot without SwagCommercial#3
avareldev merged 8 commits into
mainfrom
update/mail-archive-3.6.0-with-mailer-fix

Conversation

@avareldev

Copy link
Copy Markdown

Summary

Brings the fork up to upstream 3.6.0 (FriendsOfShopware/FroshPlatformMailArchive) and includes the mailer transport decorator boot fix.

Changes

Update to upstream 3.6.0

Merged upstream/main (release 3.6.0). New from upstream:

The only merge conflict was composer.json's version field, resolved by keeping it removed (consistent with this fork's earlier Remove version from composer.json).

Fix: boot mailer transport decorator without SwagCommercial

  • Register MailerTransportLoaderDecorator via services.xml, decorating the SwagCommercial QuoteMailerTransportLoaderDecorator with decoration-on-invalid="ignore".
  • Exclude the decorator from prototype autodiscovery and drop the conditional class_exists() wrapper so the class is always declared.
  • This stops the service-container prototype autodiscovery from failing to boot on installations without SwagCommercial.

Verification

  • No conflict markers remain; composer validate passes.
  • php -l clean on all touched files.

🤖 Generated with Claude Code

tinect and others added 7 commits October 17, 2025 14:42
…t-decorator-boot-without-commercial

# Conflicts:
#	composer.json
Register MailerTransportLoaderDecorator via services.xml against the
SwagCommercial decorator with decoration-on-invalid="ignore", and drop
the conditional class_exists() wrapper so the class is always declared.
This stops the prototype autodiscovery from failing to boot on
installations without SwagCommercial.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace services.xml with services.yaml. The prototype autodiscovery
(excluding the decorator) and the explicit MailerTransportLoaderDecorator
definition decorating the SwagCommercial decorator with
decoration_on_invalid: ignore are unchanged in behaviour.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@avareldev avareldev force-pushed the update/mail-archive-3.6.0-with-mailer-fix branch from ce1fcea to ea02395 Compare June 19, 2026 12:40
The `version` field is intentionally omitted from composer.json in this
fork. The shopware extension verifier flags this as a required-field
error, so ignore the `metadata.version` identifier in
.shopware-extension.yml. All other validation (PHPStan, ESLint,
Stylelint, etc.) stays active.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@avareldev avareldev force-pushed the update/mail-archive-3.6.0-with-mailer-fix branch from 38d9b17 to 81b9d00 Compare June 19, 2026 13:38
@avareldev avareldev merged commit 92c4d60 into main Jun 19, 2026
4 checks passed
@avareldev avareldev deleted the update/mail-archive-3.6.0-with-mailer-fix branch June 19, 2026 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants