Passed
Push — master ( 490f47...e6442b )
by Michael
31:53 queued 14:41
created
htdocs/modules/phpmailer/admin/about.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
  * @author    Richard Griffith <[email protected]>
18 18
  * @link      https://xoops.org
19 19
  */
20
-include __DIR__ . '/header.php';
20
+include __DIR__.'/header.php';
21 21
 $xoops = Xoops::getInstance();
22 22
 $xoops->header();
23 23
 $aboutAdmin = new \Xoops\Module\Admin();
Please login to merge, or discard this patch.
htdocs/modules/phpmailer/admin/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
  * @package   phpmailer
18 18
  * @author    Richard Griffith <[email protected]>
19 19
  */
20
-include __DIR__ . '/header.php';
20
+include __DIR__.'/header.php';
21 21
 
22 22
 $xoops = Xoops::getInstance();
23 23
 
Please login to merge, or discard this patch.
htdocs/modules/phpmailer/admin/header.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,4 +17,4 @@
 block discarded – undo
17 17
  * @package   phpmailer
18 18
  * @author    Richard Griffith <[email protected]>
19 19
  */
20
-require_once dirname(dirname(dirname(__DIR__))) . '/include/cp_header.php';
20
+require_once dirname(dirname(dirname(__DIR__))).'/include/cp_header.php';
Please login to merge, or discard this patch.
htdocs/modules/phpmailer/xoops_version.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 // paypal
44 44
 $modversion['paypal'] = array(
45 45
     'business'      => '[email protected]',
46
-    'item_name'     => 'Donation : ' . _MI_PHPMAILER_NAME,
46
+    'item_name'     => 'Donation : '._MI_PHPMAILER_NAME,
47 47
     'amount'        => 0,
48 48
     'currency_code' => 'USD',
49 49
 );
Please login to merge, or discard this patch.
htdocs/modules/phpmailer/preloads/preload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public static function eventCoreServiceLocateEmail(Provider $provider)
36 36
     {
37
-        $path = dirname(__DIR__) . '/class/PhpMailerEmailProvider.php';
37
+        $path = dirname(__DIR__).'/class/PhpMailerEmailProvider.php';
38 38
         require $path;
39 39
         $object = new PhpMailerEmailProvider();
40 40
         $provider->register($object);
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public static function eventCoreServiceLocateUserEmailMessage(Provider $provider)
51 51
     {
52
-        $path = dirname(__DIR__) . '/class/PhpMailerMessageProvider.php';
52
+        $path = dirname(__DIR__).'/class/PhpMailerMessageProvider.php';
53 53
         require $path;
54 54
         $object = new PhpMailerMessageProvider();
55 55
         $provider->register($object);
Please login to merge, or discard this patch.
htdocs/modules/phpmailer/language/english/modinfo.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
  * @author    Richard Griffith <[email protected]>
16 16
  */
17 17
 
18
-define('_MI_PHPMAILER_NAME','PHPMailer');
19
-define('_MI_PHPMAILER_DESC','Use PHPMailer for Email service');
18
+define('_MI_PHPMAILER_NAME', 'PHPMailer');
19
+define('_MI_PHPMAILER_DESC', 'Use PHPMailer for Email service');
20 20
 
21 21
 define('_MI_PHPMAILER_CONF_SMTPHOST', 'SMTP host(s)');
22 22
 define('_MI_PHPMAILER_CONF_SMTPHOST_DESC', 'List of SMTP servers to try to connect to separated by a ";". Example: localhost:25;tls://smtp.example.com:587');
Please login to merge, or discard this patch.
htdocs/modules/phpmailer/class/PhpMailerEmailProvider.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -73,11 +73,11 @@  discard block
 block discarded – undo
73 73
     {
74 74
         // Addresses
75 75
         $address = $email->getFromAddress();
76
-        $mailer->setFrom($address->getEmail(), (string) $address->getDisplayName());
76
+        $mailer->setFrom($address->getEmail(), (string)$address->getDisplayName());
77 77
 
78 78
         $list = $email->getToAddresses();
79 79
         foreach ($list->getEachAddress() as $address) {
80
-            $mailer->addAddress($address->getEmail(), (string) $address->getDisplayName());
80
+            $mailer->addAddress($address->getEmail(), (string)$address->getDisplayName());
81 81
         }
82 82
 
83 83
         $list = $email->getReplyToAddresses();
@@ -107,8 +107,8 @@  discard block
 block discarded – undo
107 107
             foreach ($attachmentSet->getEachAttachment() as $attachment) {
108 108
                 $file = $attachment->getFilename();
109 109
                 $body = $attachment->getStringBody();
110
-                $name = (string) $attachment->getName();
111
-                $type = (string) $attachment->getMimeType();
110
+                $name = (string)$attachment->getName();
111
+                $type = (string)$attachment->getMimeType();
112 112
                 $inline = $attachment->getInlineAttribute();
113 113
                 if (null !== $file && !$inline) {
114 114
                     $mailer->addAttachment($file, $name, 'base64', $type);
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
         }
134 134
 
135 135
         $mailer->isHTML(false);
136
-        $mailer->Body= $email->getBody();
136
+        $mailer->Body = $email->getBody();
137 137
 
138 138
         return $mailer;
139 139
     }
@@ -163,8 +163,8 @@  discard block
 block discarded – undo
163 163
             case 'smtp':
164 164
                 $mailer->isSMTP();
165 165
                 $mailer->Host = $helper->getConfig('smtp_host', $mailer->Host);
166
-                $mailer->SMTPAutoTLS = (bool) $helper->getConfig('smtp_usetls', true);
167
-                $mailer->SMTPDebug = (int) $helper->getConfig('smtp_debug', 0);
166
+                $mailer->SMTPAutoTLS = (bool)$helper->getConfig('smtp_usetls', true);
167
+                $mailer->SMTPDebug = (int)$helper->getConfig('smtp_debug', 0);
168 168
                 break;
169 169
             case 'mail':
170 170
             default:
Please login to merge, or discard this patch.
htdocs/modules/banners/admin/about.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
  * @author          Mage Gregory (AKA Mage)
20 20
  * @version         $Id: $
21 21
  */
22
-include __DIR__ . '/header.php';
22
+include __DIR__.'/header.php';
23 23
 $xoops = Xoops::getInstance();
24 24
 $xoops->header();
25 25
 $aboutAdmin = new \Xoops\Module\Admin();
Please login to merge, or discard this patch.
htdocs/modules/banners/admin/clients.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  * @author          Mage Grégory (AKA Mage)
22 22
  * @version         $Id$
23 23
  */
24
-include __DIR__ . '/header.php';
24
+include __DIR__.'/header.php';
25 25
 
26 26
 // Get main instance
27 27
 $xoops = Xoops::getInstance();
@@ -176,9 +176,9 @@  discard block
 block discarded – undo
176 176
                             $banner_arr[$i]->getVar('banner_imageurl'),
177 177
                             '',
178 178
                             0,
179
-                            strlen($xoops_url . '/uploads/banners/')
179
+                            strlen($xoops_url.'/uploads/banners/')
180 180
                         );
181
-                        $urlfile =  $xoops_root_path . '/uploads/banners/' . $namefile;
181
+                        $urlfile = $xoops_root_path.'/uploads/banners/'.$namefile;
182 182
                         if ($banner_Handler->delete($obj)) {
183 183
                             // delete banner
184 184
                             if (is_file($urlfile)) {
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
                 echo $xoops->confirm(
198 198
                     array("ok" => 1, "cid" => $cid, "op" => "delete"),
199 199
                     'clients.php',
200
-                    sprintf(_AM_BANNERS_CLIENTS_SUREDEL, $obj->getVar("bannerclient_name")) . '<br />'
200
+                    sprintf(_AM_BANNERS_CLIENTS_SUREDEL, $obj->getVar("bannerclient_name")).'<br />'
201 201
                 );
202 202
             }
203 203
         } else {
Please login to merge, or discard this patch.