settings/Controller/MailSettingsController.php
Method sendTestMail
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function sendTestMail() {
$email = $this->request->getParam('mail_to_address');
if (empty($email)) {
$email = $this->userSession->getUser()->getEMailAddress();
Method __construct
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$appName,
IRequest $request,
IL10N $l10n,
IConfig $config,
Session $userSession,
Method setMailSettings
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
$mail_domain,
$mail_from_address,
$mail_smtpmode,
$mail_smtpsecure,
$mail_smtphost,