<commit_before><?php defined('BASEPATH') OR exit('No direct script access allowed.');

/**
 * CodeIgniter compatible email-library powered by PHPMailer.
 * Version: 1.1.3
 * @author <NAME> <<EMAIL>>, 2012-2014.
 * @license The MIT License (MIT), http://opensource.org/licenses/MIT
 * @link https://github.com/ivantcholakov/codeigniter-phpmailer
 *
 * Tested on production sites with CodeIgniter 3.0-dev (May 24th, 2014) and
 * PHPMailer Version 5.2.8 (May 14th, 2014).
 */

class Email extends CI_Email {

    protected $mailer_engine = 'codeigniter';
    protected $phpmailer;
    protected $CI;

    protected $_is_ci_3 = NULL;

    protected static $protocols = array('mail', 'sendmail', 'smtp');
    protected static $mailtypes = array('html', 'text');

    public function __construct($config = array()) {

        $this->_is_ci_3 = (bool) ((int) CI_VERSION >= 3);

        $this->CI = get_instance();
        $this->CI->load->helper('email');
        $this->CI->load->helper('html');

        if (!is_array($config)) {
            $config = array();<commit_msg>Email library: Making the property phpmailer public for testing purposes.<commit_after><?php defined('BASEPATH') OR exit('No direct script access allowed.');

/**
 * CodeIgniter compatible email-library powered by PHPMailer.
 * Version: 1.1.3
 * @author <NAME> <<EMAIL>>, 2012-2014.
 * @license The MIT License (MIT), http://opensource.org/licenses/MIT
 * @link https://github.com/ivantcholakov/codeigniter-phpmailer
 *
 * Tested on production sites with CodeIgniter 3.0-dev (May 24th, 2014) and
 * PHPMailer Version 5.2.8 (May 14th, 2014).
 */

class Email extends CI_Email {

    public $phpmailer;  // This property has been made public for testing purposes.

    protected $mailer_engine = 'codeigniter';
    protected $CI;

    protected $_is_ci_3 = NULL;

    protected static $protocols = array('mail', 'sendmail', 'smtp');
    protected static $mailtypes = array('html', 'text');

    public function __construct($config = array()) {

        $this->_is_ci_3 = (bool) ((int) CI_VERSION >= 3);

        $this->CI = get_instance();
        $this->CI->load->helper('email');
        $this->CI->load->helper('html');

        if (!is_array($config)) {
            $config = array();
{'fraction_non_alphanumeric': 0.15401686640035508, 'fraction_numerical': 0.027518863737239236, 'mean_word_length': 3.4722222222222223, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 27, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4541661', 'n_tokens_mistral': 755, 'n_tokens_neox': 693, 'n_words': 191}