@@ -63,7 +63,7 @@ |
||
| 63 | 63 | */ |
| 64 | 64 | public function testNoConfig() |
| 65 | 65 | { |
| 66 | - $this->container->expects($this->once()) |
|
| 66 | + $this->container->expects($this->once()) |
|
| 67 | 67 | ->method('hasParameter') |
| 68 | 68 | ->with('swp_updater.monolog_channel') |
| 69 | 69 | ->will($this->returnValue(false)); |
@@ -25,8 +25,8 @@ |
||
| 25 | 25 | |
| 26 | 26 | function let() |
| 27 | 27 | { |
| 28 | - $config = array('base_uri' => 'http://httpbin.org'); |
|
| 29 | - $this->beConstructedWith($config); |
|
| 28 | + $config = array('base_uri' => 'http://httpbin.org'); |
|
| 29 | + $this->beConstructedWith($config); |
|
| 30 | 30 | } |
| 31 | 31 | |
| 32 | 32 | function it_should_make_a_call_to_remote_server() |
@@ -157,7 +157,7 @@ |
||
| 157 | 157 | */ |
| 158 | 158 | protected function sortPackagesByVersion(array $array = array()) |
| 159 | 159 | { |
| 160 | - usort($array, function ($first, $second) { |
|
| 160 | + usort($array, function($first, $second) { |
|
| 161 | 161 | if ($first instanceof UpdatePackage && $second instanceof UpdatePackage) { |
| 162 | 162 | return version::compare($first->getVersion(), $second->getVersion()); |
| 163 | 163 | } |