Skip to content

[4] phpmailerException - add missing include exception and alias it.#32057

Merged
HLeithner merged 1 commit intojoomla:4.0-devfrom
PhilETaylor:missinginclude
Jan 16, 2021
Merged

[4] phpmailerException - add missing include exception and alias it.#32057
HLeithner merged 1 commit intojoomla:4.0-devfrom
PhilETaylor:missinginclude

Conversation

@PhilETaylor
Copy link
Copy Markdown
Contributor

Core review

add missing include and alias

use PHPMailer\PHPMailer\Exception as phpmailerException;

which is used, and currently undefined, here:

catch (MailDisabledException | phpmailerException $exception)

Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>
@toivo
Copy link
Copy Markdown
Contributor

toivo commented Jan 16, 2021

I have tested this item ✅ successfully on 5e9ec0e

Tested successfully in Beta7-dev of 16 January.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32057.

@ghost
Copy link
Copy Markdown

ghost commented Jan 16, 2021

I have tested this item ✅ successfully on 5e9ec0e


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32057.

@alikon
Copy link
Copy Markdown
Contributor

alikon commented Jan 16, 2021

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32057.

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Jan 16, 2021
@HLeithner
Copy link
Copy Markdown
Member

I would really be interested how @toivo and @Gostn tested this.

thanks @PhilETaylor

@HLeithner HLeithner merged commit c79ce14 into joomla:4.0-dev Jan 16, 2021
@HLeithner HLeithner added this to the Joomla 4.0 milestone Jan 16, 2021
@joomla-cms-bot joomla-cms-bot added PR-4.0-dev and removed RTC This Pull Request is Ready To Commit labels Jan 16, 2021
@toivo
Copy link
Copy Markdown
Contributor

toivo commented Jan 16, 2021

@HLeithner - code review: after the PR as applied the line that created the missing alias was there.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32057.

@HLeithner
Copy link
Copy Markdown
Member

thx @toivo

dgrammatiko pushed a commit to dgrammatiko/joomla-cms that referenced this pull request Jan 17, 2021
Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>
dgrammatiko pushed a commit to dgrammatiko/joomla-cms that referenced this pull request Jan 20, 2021
Signed-off-by: Phil E. Taylor <phil@phil-taylor.com>
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.

5 participants