Completed
Push — master ( 446f2e...32b2c3 )
by Nelson
11:26
created
tests/TestCase/VersionTest.php 1 patch
Unused Use Statements   +1 added lines, -4 removed lines patch added patch discarded remove patch
@@ -19,12 +19,9 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\TestCase;
21 21
 
22
-use NelsonMartell as NML;
23
-use NelsonMartell\Version;
24
-use NelsonMartell\VersionComponent;
25
-use NelsonMartell\Object;
26 22
 use NelsonMartell\Extensions\String;
27 23
 use NelsonMartell\Test\DataProviders\VersionTestProvider;
24
+use NelsonMartell\Version;
28 25
 use \PHPUnit_Framework_TestCase as TestCase;
29 26
 use \InvalidArgumentException;
30 27
 
Please login to merge, or discard this patch.
src/PropertiesHandler.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
          */
229 229
         protected static function getPropertySetter($name)
230 230
         {
231
-            $args   = [
231
+            $args = [
232 232
                 'class' => get_called_class(),
233 233
             ];
234 234
 
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
          */
283 283
         protected static function getPropertyGetter($name)
284 284
         {
285
-            $args   = [
285
+            $args = [
286 286
                 'class' => get_called_class(),
287 287
             ];
288 288
 
Please login to merge, or discard this patch.
src/Object.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@
 block discarded – undo
155 155
                 $r = $right->compareTo($left);
156 156
 
157 157
                 if ($r !== null) {
158
-                    $r *= -1;  // Invert result
158
+                    $r *= -1; // Invert result
159 159
                 }
160 160
             } else {
161 161
                 $ltype = typeof($left);
Please login to merge, or discard this patch.
src/Extensions/String.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
 
85 85
             if ($valueType->canBeString() === false) {
86 86
                 $msg = 'Value for "{{0}}" placeholder must to be a string or object convertible to string;'.
87
-                       '"{1}" type given.';
87
+                        '"{1}" type given.';
88 88
                 throw new InvalidArgumentException(nml_msg($msg, $placeholder, $valueType));
89 89
             }
90 90
 
Please login to merge, or discard this patch.