MPOS/php-mpos

View on GitHub
include/lib/swiftmailer/classes/Swift/Mime/SimpleMessage.php

Summary

Maintainability
C
1 day
Test Coverage

Swift_Mime_SimpleMessage has 38 functions (exceeds 20 allowed). Consider refactoring.
Open

class Swift_Mime_SimpleMessage extends Swift_Mime_MimePart implements Swift_Mime_Message
{
    /**
     * Create a new SimpleMessage with $headers, $encoder and $cache.
     *
Severity: Minor
Found in include/lib/swiftmailer/classes/Swift/Mime/SimpleMessage.php - About 5 hrs to fix

    File SimpleMessage.php has 297 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    <?php
    
    /*
     * This file is part of SwiftMailer.
     * (c) 2004-2009 Chris Corbyn
    Severity: Minor
    Found in include/lib/swiftmailer/classes/Swift/Mime/SimpleMessage.php - About 3 hrs to fix

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

          public function __construct(Swift_Mime_HeaderSet $headers, Swift_Mime_ContentEncoder $encoder, Swift_KeyCache $cache, Swift_Mime_Grammar $grammar, $charset = null)
      Severity: Minor
      Found in include/lib/swiftmailer/classes/Swift/Mime/SimpleMessage.php - About 35 mins to fix

        There are no issues that match your filters.

        Category
        Status