@@ -37,7 +37,7 @@ |
||
| 37 | 37 | $str = self::convertToLowercase($str); |
| 38 | 38 | return preg_replace_callback( |
| 39 | 39 | '/_([a-z])/', |
| 40 | - function ($match) { |
|
| 40 | + function($match) { |
|
| 41 | 41 | return strtoupper($match[1]); |
| 42 | 42 | }, |
| 43 | 43 | $str |
@@ -7,9 +7,8 @@ |
||
| 7 | 7 | |
| 8 | 8 | use GuzzleHttp\ClientInterface; |
| 9 | 9 | use GuzzleHttp\Psr7\Response; |
| 10 | -use IBM\Watson\Common\Helper; |
|
| 11 | 10 | use IBM\Watson\Common\Exception\RuntimeException; |
| 12 | -use SebastianBergmann\Environment\Runtime; |
|
| 11 | +use IBM\Watson\Common\Helper; |
|
| 13 | 12 | use Symfony\Component\HttpFoundation\ParameterBag; |
| 14 | 13 | use Symfony\Component\HttpFoundation\Request; |
| 15 | 14 | |
@@ -3,9 +3,9 @@ |
||
| 3 | 3 | |
| 4 | 4 | namespace IBM\Watson\Common; |
| 5 | 5 | |
| 6 | +use IBM\Watson\Common\Helper; |
|
| 6 | 7 | use IBM\Watson\Tests\TestCase; |
| 7 | 8 | use Mockery as m; |
| 8 | -use IBM\Watson\Common\Helper; |
|
| 9 | 9 | |
| 10 | 10 | |
| 11 | 11 | class HelperTest extends TestCase |