Completed
Pull Request — master (#32)
by Nelson
03:09
created
tests/DataProviders/ExampleClass/C.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\DataProviders\ExampleClass;
21 21
 
22
-use NelsonMartell\PropertiesHandler;
23 22
 use NelsonMartell\ICustomPrefixedPropertiesContainer;
24 23
 
25 24
 class C extends B implements ICustomPrefixedPropertiesContainer
Please login to merge, or discard this patch.
tests/DataProviders/ObjectTestProvider.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@
 block discarded – undo
20 20
 namespace NelsonMartell\Test\DataProviders;
21 21
 
22 22
 use NelsonMartell\Object;
23
-use NelsonMartell\Test\Helpers\ExporterPlugin;
24 23
 use NelsonMartell\Test\Helpers\ConstructorMethodTester;
24
+use NelsonMartell\Test\Helpers\ExporterPlugin;
25 25
 use NelsonMartell\Test\Helpers\IComparerTester;
26 26
 
27 27
 /**
Please login to merge, or discard this patch.
tests/Helpers/ExporterPlugin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,6 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\Helpers;
21 21
 
22
-use NelsonMartell as NML;
23 22
 use NelsonMartell\Extensions\String;
24 23
 use SebastianBergmann\Exporter\Exporter;
25 24
 use \InvalidArgumentException;
Please login to merge, or discard this patch.
tests/TestCase/Extensions/StringTest.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,6 @@
 block discarded – undo
20 20
 
21 21
 use NelsonMartell as NML;
22 22
 use NelsonMartell\Extensions\String;
23
-use NelsonMartell\Type;
24 23
 use \PHPUnit_Framework_TestCase as TestCase;
25 24
 use \InvalidArgumentException;
26 25
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
             $format .= "{{$i}}, ";
89 89
         }
90 90
         $format .= '{8} y {9}.';
91
-        $actual   = String::format($format, range(1, 10));
91
+        $actual = String::format($format, range(1, 10));
92 92
         $this->assertEquals($expected, $actual);
93 93
     }
94 94
 
Please login to merge, or discard this patch.
tests/TestCase/PropertiesHandlerTest.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -19,9 +19,6 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\TestCase;
21 21
 
22
-use NelsonMartell as NML;
23
-use NelsonMartell\Type;
24
-use NelsonMartell\Extensions\String;
25 22
 use NelsonMartell\Test\DataProviders\PropertiesHandlerTestProvider;
26 23
 use \PHPUnit_Framework_TestCase as TestCase;
27 24
 use \InvalidArgumentException;
Please login to merge, or discard this patch.
tests/TestCase/TypeTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,9 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\TestCase;
21 21
 
22
-use NelsonMartell as NML;
23
-use NelsonMartell\Type;
24 22
 use NelsonMartell\Extensions\String;
25 23
 use NelsonMartell\Test\DataProviders\TypeTestProvider;
24
+use NelsonMartell\Type;
26 25
 use \PHPUnit_Framework_TestCase as TestCase;
27 26
 use SebastianBergmann\Exporter\Exporter;
28 27
 use \InvalidArgumentException;
Please login to merge, or discard this patch.
tests/TestCase/VersionComponentTest.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,10 +19,9 @@
 block discarded – undo
19 19
 
20 20
 namespace NelsonMartell\Test\TestCase;
21 21
 
22
-use NelsonMartell as NML;
23
-use NelsonMartell\VersionComponent;
24 22
 use NelsonMartell\Extensions\String;
25 23
 use NelsonMartell\Test\DataProviders\VersionComponentTestProvider;
24
+use NelsonMartell\VersionComponent;
26 25
 use \PHPUnit_Framework_TestCase as TestCase;
27 26
 use \InvalidArgumentException;
28 27
 
Please login to merge, or discard this patch.
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/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.