@@ -44,7 +44,7 @@ |
||
44 | 44 | $jsonEncoderMock |
45 | 45 | ->expects($this->once()) |
46 | 46 | ->method('encode') |
47 | - ->willReturnCallback(function ($string) { |
|
47 | + ->willReturnCallback(function($string) { |
|
48 | 48 | $data = json_encode($string); |
49 | 49 | if (is_null($data)) { |
50 | 50 | throw new \Exception(); |
@@ -6,7 +6,7 @@ |
||
6 | 6 | /** |
7 | 7 | * @var ClassLoader $loader |
8 | 8 | */ |
9 | -$loader = require __DIR__.'/../../../../../vendor/autoload.php'; |
|
9 | +$loader = require __DIR__ . '/../../../../../vendor/autoload.php'; |
|
10 | 10 | |
11 | 11 | AnnotationRegistry::registerLoader(array($loader, 'loadClass')); |
12 | 12 |
@@ -28,7 +28,7 @@ |
||
28 | 28 | */ |
29 | 29 | public function retrieve($uri) |
30 | 30 | { |
31 | - set_error_handler(function () use ($uri) { |
|
31 | + set_error_handler(function() use ($uri) { |
|
32 | 32 | throw new ResourceNotFoundException('Schema not found at ' . $uri); |
33 | 33 | }); |
34 | 34 | $response = file_get_contents($uri); |