@@ -19,12 +19,9 @@ |
||
| 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 | |
@@ -228,7 +228,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -155,7 +155,7 @@ |
||
| 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); |
@@ -84,7 +84,7 @@ |
||
| 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 | |