Skip to content

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

Open
gnomii wants to merge 1 commit into
php-censor:masterfrom
gnomii:feature/symfony-mailer-upgrade
Open

gnomii wants to merge 1 commit 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
@@ -41,7 +41,7 @@
"php": ">=8.1.0",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the changes in php-censor, it should be "php": ">=8.4.0.

Comment thread composer.json
},
"extra": {
"platform": {
"php": "8.1.*"

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to the changes in php-censor, it should be "php": ">=8.4.0.

Comment thread composer.json
"symfony/mailer": "^5.4 || ^6.4 || ^7.4 || ^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should update all versions of packages according to changes in php-censor. For example: "phpunit/phpunit": "^13.0"

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