Completed
Push — develop ( 2b1469...b5b2e8 )
by John
03:36
created
Alpha/Util/Extension/Markdown.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
         if (isset($codeTypeTag[0])) {
76 76
             $start = mb_strpos($codeTypeTag[0], '[');
77 77
             $end = mb_strpos($codeTypeTag[0], ']');
78
-            $language = mb_substr($codeTypeTag[0], $start + 1, $end - ($start + 1));
78
+            $language = mb_substr($codeTypeTag[0], $start+1, $end-($start+1));
79 79
         } else {
80 80
             // will use php as a default language type when none is provided
81 81
             $language = 'php';
@@ -106,11 +106,11 @@  discard block
 block discarded – undo
106 106
     {
107 107
         $config = ConfigProvider::getInstance();
108 108
 
109
-        $whole_match    =  $matches[1];
110
-        $link_text      =  $this->runSpanGamut($matches[2]);
111
-        $url            =  $matches[3] == '' ? $matches[4] : $matches[3];
112
-        $title          =& $matches[7];
113
-        $attr  = $this->doExtraAttributes("a", $dummy =& $matches[8]);
109
+        $whole_match    = $matches[1];
110
+        $link_text      = $this->runSpanGamut($matches[2]);
111
+        $url            = $matches[3] == '' ? $matches[4] : $matches[3];
112
+        $title          = & $matches[7];
113
+        $attr = $this->doExtraAttributes("a", $dummy = & $matches[8]);
114 114
 
115 115
         $external = false;
116 116
 
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
         $result = "<a href=\"$url\"";
133 133
         if (isset($title)) {
134 134
             $title = $this->encodeAttribute($title);
135
-            $result .=  " title=\"$title\"";
135
+            $result .= " title=\"$title\"";
136 136
         }
137 137
         if ($external) {
138 138
             $result .= " target=\"$url\"";
@@ -214,6 +214,6 @@  discard block
 block discarded – undo
214 214
         $text .= "</tbody>\n";
215 215
         $text .= "</table>";
216 216
         
217
-        return $this->hashBlock($text) . "\n";
217
+        return $this->hashBlock($text)."\n";
218 218
     }
219 219
 }
Please login to merge, or discard this patch.
Alpha/Util/Helper/Validator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -379,7 +379,7 @@
 block discarded – undo
379 379
      */
380 380
     public static function isBase64($value)
381 381
     {
382
-        return (bool) preg_match('/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/', $value);
382
+        return (bool)preg_match('/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/', $value);
383 383
     }
384 384
 
385 385
     /**
Please login to merge, or discard this patch.
Alpha/Model/Person.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
                                     'state' => 'Account state',
115 115
                                     'URL' => 'Your site address',
116 116
                                     'rights' => 'Rights Group Membership',
117
-                                    'actions' => 'Actions', );
117
+                                    'actions' => 'Actions',);
118 118
 
119 119
     /**
120 120
      * The name of the database table for the class.
@@ -178,7 +178,7 @@  discard block
 block discarded – undo
178 178
         $this->password->isPassword(true);
179 179
         $this->state = new Enum(array(
180 180
                                     'Active',
181
-                                    'Disabled', ));
181
+                                    'Disabled',));
182 182
         $this->state->setValue('Active');
183 183
         $this->URL = new SmallText();
184 184
         $this->URL->setRule(Validator::OPTIONAL_HTTP_URL);
Please login to merge, or discard this patch.
Alpha/Model/Type/Relation.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -508,7 +508,7 @@  discard block
 block discarded – undo
508 508
     /**
509 509
      * Getter for the Relation value.
510 510
      *
511
-     * @return mixed
511
+     * @return string
512 512
      *
513 513
      * @since 1.0
514 514
      */
@@ -748,7 +748,7 @@  discard block
 block discarded – undo
748 748
      * Set the taggedClass property to the name of the tagged class when building relations
749 749
      * to the TagObject BO.
750 750
      *
751
-     * @param $taggedClass
751
+     * @param string $taggedClass
752 752
      *
753 753
      * @since 1.0
754 754
      */
Please login to merge, or discard this patch.