Completed
Pull Request — master (#48)
by John
02:30
created
src/Tests/EventListener/ExceptionListenerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -185,7 +185,7 @@
 block discarded – undo
185 185
             $logger
186 186
                 ->expects($this->once())
187 187
                 ->method($this->anything())
188
-                ->with($this->callback(function ($message) use (&$logref) {
188
+                ->with($this->callback(function($message) use (&$logref) {
189 189
                     $matches = [];
190 190
                     if (preg_match('/logref ([a-z0-9]*)/', $message, $matches)) {
191 191
                         $logref = $matches[1];
Please login to merge, or discard this patch.
src/Tests/Routing/SwaggerRouteLoaderTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -243,7 +243,7 @@
 block discarded – undo
243 243
 
244 244
         $definitionPaths = array_keys($pathDefinitions);
245 245
         sort($definitionPaths);
246
-        $routePaths = array_map(function ($route) {
246
+        $routePaths = array_map(function($route) {
247 247
             return $route->getPath();
248 248
         }, $routes->getIterator()->getArrayCopy());
249 249
         sort($routePaths);
Please login to merge, or discard this patch.
src/Tests/Request/RequestCoercerTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
         $this->contentDecoderMock
33 33
             ->expects($this->any())
34 34
             ->method('decodeContent')
35
-            ->willReturnCallback(function (Request $request) {
35
+            ->willReturnCallback(function(Request $request) {
36 36
                 return json_decode($request->getContent());
37 37
             });
38 38
     }
Please login to merge, or discard this patch.
src/Tests/Response/ResponseFactorySymfonySerializerCompatibilityTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Tests/Functional/PetStore/app/autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Document/YamlCapableUriRetriever.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
Request/ContentDecoder/ContentDecoderSymfonySerializerCompatibilityTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.