INFRA-132 - Misc
[civicrm-core.git] / CRM / Mailing / MailStore / Maildir.php
index 81fb503f663611df463436b2f249f0fd98b5d662..7ce192a40310b96bcc328b7f52c583bc25c365ae 100644 (file)
@@ -23,7 +23,7 @@
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
@@ -56,13 +56,13 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
           'CiviMail.ignored',
           date('Y'),
           date('m'),
-          date('d')
+          date('d'),
         )));
     $this->_processed = $this->maildir(implode(DIRECTORY_SEPARATOR, array(
           'CiviMail.processed',
           date('Y'),
           date('m'),
-          date('d')
+          date('d'),
         )));
   }
 
@@ -78,13 +78,13 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
    */
   public function fetchNext($count = 0) {
     $mails = array();
-    $parser = new ezcMailParser;
+    $parser = new ezcMailParser();
     //set property text attachment as file CRM-5408
     $parser->options->parseTextAttachmentsAsFiles = TRUE;
 
     foreach (array(
                'cur',
-               'new'
+               'new',
              ) as $subdir) {
       $dir = $this->_dir . DIRECTORY_SEPARATOR . $subdir;
       foreach (scandir($dir) as $file) {
@@ -144,4 +144,5 @@ class CRM_Mailing_MailStore_Maildir extends CRM_Mailing_MailStore {
       throw new Exception("Could not rename $file to $target");
     }
   }
+
 }