<commit_before><?php
require_once dirname(__FILE__) . '/../_interface/Mail.php';
require_once dirname(__FILE__) . '/RealSendMailStrategyImpl.php';
/**
 * Created by JetBrains PhpStorm.
 * User: budde
 * Date: 02/08/12
 * Time: 14:52
 */
class MailImpl implements Mail
{
    use validationTrait;

    private $sendMailStrategy;

    private $sender;

    private $receivers = '';
    private $CCs = '';
    private $BCCs = '';
    private $subject;
    private $message;

    private $mailTypeHeaders = array();

    public function __construct(SendMailStrategy $sendMailStrategy = null)
    {
        if ($sendMailStrategy !== null) {<commit_msg>Corrected bug with wrong import of ValidationTrait<commit_after><?php
require_once dirname(__FILE__) . '/../_interface/Mail.php';
require_once dirname(__FILE__) . '/RealSendMailStrategyImpl.php';
require_once dirname(__FILE__) .'/../_trait/ValidationTrait.php';
/**
 * Created by JetBrains PhpStorm.
 * User: budde
 * Date: 02/08/12
 * Time: 14:52
 */
class MailImpl implements Mail
{
    use ValidationTrait;

    private $sendMailStrategy;

    private $sender;

    private $receivers = '';
    private $CCs = '';
    private $BCCs = '';
    private $subject;
    private $message;

    private $mailTypeHeaders = array();

    public function __construct(SendMailStrategy $sendMailStrategy = null)
    {
        if ($sendMailStrategy !== null) {
{'fraction_non_alphanumeric': 0.12759856630824373, 'fraction_numerical': 0.014336917562724014, 'mean_word_length': 3.577049180327869, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1158470', 'n_tokens_mistral': 445, 'n_tokens_neox': 419, 'n_words': 105}