Passed
Push — dev ( 345a82...5b87e8 )
by Greg
02:57
created
src/GJClasses/MailSmtp.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
 
25 25
             $result_message = 'Email Send Failed';
26 26
 
27
-            foreach ($recipients AS $recipient) {
27
+            foreach ($recipients as $recipient) {
28 28
 
29 29
                 $mail->Subject = $subject;
30 30
                 $mail->Body = $message_html;
Please login to merge, or discard this patch.
src/GJClasses/Money.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,9 @@
 block discarded – undo
13 13
         list($currency_slug, $full_url) = $this->getConvUrl($from_currency, $to_currency);
14 14
         $remote = new Remote();
15 15
         $result = $remote->getFileContents($full_url);
16
-        if ($result === false) return false;
16
+        if ($result === false) {
17
+            return false;
18
+        }
17 19
         $json_result = json_decode($result);
18 20
         $conversion_rate = $json_result->{$currency_slug}->val;
19 21
 
Please login to merge, or discard this patch.
src/GJClasses/Sanitize.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 class Sanitize
5 5
 {
6 6
 
7
-   public function text($text)
7
+    public function text($text)
8 8
     {
9 9
         return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
10 10
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 {
6 6
 
7 7
    public function text($text)
8
-    {
8
+   {
9 9
         return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
10 10
 
11 11
     }
Please login to merge, or discard this patch.
src/GJClasses/Unsanitize.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
 class Unsanitize
5 5
 {
6 6
 
7
-   public function text($text)
7
+    public function text($text)
8 8
     {
9 9
         return htmlspecialchars_decode($text, ENT_QUOTES);
10 10
 
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 {
6 6
 
7 7
    public function text($text)
8
-    {
8
+   {
9 9
         return htmlspecialchars_decode($text, ENT_QUOTES);
10 10
 
11 11
     }
Please login to merge, or discard this patch.