mambax7/extcal

View on GitHub
include/mail_fnc.php

Summary

Maintainability
B
4 hrs
Test Coverage

Method sendMail2member has 83 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function sendMail2member($mode, $eventId, $memberUid, $subject, $tplMessage)
{
    //mode = 0 pas d'entete
    //mode = 1 format text
    //mode = 2: format html
Severity: Major
Found in include/mail_fnc.php - About 3 hrs to fix

    Method extcal_SendMail has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        $destinataires,
        $mail_fromname,
        $mail_fromemail,
        $mail_subject,
        $mail_body,
    Severity: Major
    Found in include/mail_fnc.php - About 1 hr to fix

      Method sendMail2member has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

      function sendMail2member($mode, $eventId, $memberUid, $subject, $tplMessage)
      Severity: Minor
      Found in include/mail_fnc.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status