Skip to content

Allow symfony/mailer 6.4, 7.4 and 8.x - #1

Merged
corpsee merged 2 commits into
php-censor:masterfrom
gnomii:feature/symfony-mailer-upgrade
Dec 1, 2026
Merged

corpsee merged 2 commits into
php-censor:masterfrom
gnomii:feature/symfony-mailer-upgrade

Conversation

@gnomii

@gnomii gnomii commented Nov 29, 2026

Copy link
Copy Markdown

php-censor uses symfony/mailer to replace SwiftMailer (abandoned), but the ^5.4 constraint here
prevents php-censor from moving off Symfony 5.4 (end of life). See php-censor/php-censor#446.

This widens the constraint to ^5.4 || ^6.4 || ^7.4 || ^8.0. Nothing else changes.

  • The test suite passes: 37 tests.
  • A project requiring this branch together with symfony/mailer ^8.0 installs (Mailer 8.2).

symfony/mailer ^5.4 blocks php-censor from upgrading Symfony (5.4 is end of life).
Widen the constraint to ^5.4 || ^6.4 || ^7.4 || ^8.0, nothing else changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Comment thread composer.json Resolved
Comment thread composer.json Resolved
Comment thread composer.json Resolved
- php >=8.4.0, symfony/mailer ^7.4 || ^8.0, psr/container ^1.1 || ^2.0
- Dev tools: PHPUnit 13, php-cs-fixer 3.90, Infection 0.35, Psalm 6/7, PHPMD 3,
  parallel-lint 1.4, Rector 2; phpcpd and phploc removed (abandoned)
- PHPUnit config migrated, mocks without expectations replaced by stubs
- Rector config rewritten for Rector 2, Psalm unused-code checks disabled
- ${var} interpolation fixed (deprecated since PHP 8.2)
- Code style updated for php-cs-fixer 3.95 (function_declaration: "fn (")
- CI: ubuntu-latest, PHP 8.4/8.5, $GITHUB_OUTPUT, actions updated

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@corpsee
corpsee merged commit c7492d8 into php-censor:master Dec 1, 2026
4 checks passed
@corpsee

corpsee commented Dec 1, 2026

Copy link
Copy Markdown
Member

@gnomii Thank you for your work!

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