- Issue created by @solideogloria
Hi @solideogloria, i think the version should be 1.x-dev instead of 2.x-dev. Can you please verify it once.
- ๐ฎ๐ณIndia hetal.solanki
@solideogloria
I have review MR!123 after upgrade php version and MR working fine.
So i am moving this issue in RTBC.
Thank you!!
- ๐ฌ๐งUnited Kingdom adamps
Patches should be committed to 2.x first please then we can backport (it is the default branch for a reason๐).
The MR seems to only change the comment - missing the actual change to the function.
- ๐ฌ๐งUnited Kingdom adamps
Looks like it. I did a fix in a hurry without creating an issue, commit b286c9c7c6740419c7ad5d63fdadfa68f97f3f76. I didn't yet create a release.
Please can someone confirm it's fixed in 1.x dev?
I still get warnings after using cex in a php 8.4/drupal 11 environment:
PHP Deprecated: Drupal\symfony_mailer\Processor\OverrideManager::getInfo(): Implicitly marking parameter $filterId as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/symfony_mailer/src/Processor/OverrideManager.php on line 153 Deprecated: Drupal\symfony_mailer\Processor\OverrideManager::getInfo(): Implicitly marking parameter $filterId as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/symfony_mailer/src/Processor/OverrideManager.php on line 153 PHP Deprecated: Drupal\symfony_mailer\Processor\OverrideManagerInterface::getInfo(): Implicitly marking parameter $filterId as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/symfony_mailer/src/Processor/OverrideManagerInterface.php on line 62 Deprecated: Drupal\symfony_mailer\Processor\OverrideManagerInterface::getInfo(): Implicitly marking parameter $filterId as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/web/modules/contrib/symfony_mailer/src/Processor/OverrideManagerInterface.php on line 62
Seems like we need to change the type hint, as well:
public function getInfo(string $filterId = NULL);
to
public function getInfo(?string $filterId = NULL);
Should I create a new patch/mr?
- ๐ฌ๐งUnited Kingdom adamps
Great thanks.
There should be a release fairly soon, however I do want to get some other fixes in first. Anyone in a hurry can take the dev release or apply the very simple code change as a patch.
- ๐บ๐ธUnited States drupgirl
Applied path 123.diff on version 1.5 and this issue still exists.
PHP Deprecated: Drupal\symfony_mailer\Controller\SymfonyMailerController::createPolicy(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /web/modules/contrib/symfony_mailer/src/Controller/SymfonyMailerController.php on line 171
Deprecated: Drupal\symfony_mailer\Controller\SymfonyMailerController::createPolicy(): Implicitly marking parameter $request as nullable is deprecated, the explicit nullable type must be used instead in /web/modules/contrib/symfony_mailer/src/Controller/SymfonyMailerController.php on line 171