Completed
Push — master ( a0f13c...570c98 )
by John
15:11 queued 08:34
created
src/Serializer/SerializationTypeResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
53 53
      */
54 54
     protected function qualify(string $resourceNamespace, string $typeName): string
55 55
     {
56
-        return ltrim($resourceNamespace . '\\' . $typeName, '\\');
56
+        return ltrim($resourceNamespace.'\\'.$typeName, '\\');
57 57
     }
58 58
 
59 59
     /**
Please login to merge, or discard this patch.
src/Document/OperationObject.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     {
143 143
         foreach ($this->definition->parameters as $i => $paramDefinition) {
144 144
             if ($paramDefinition->name === $parameterName) {
145
-                return '/' . implode('/', [
145
+                return '/'.implode('/', [
146 146
                     'paths',
147 147
                     str_replace(['~', '/'], ['~0', '~1'], $this->getPath()),
148 148
                     $this->getMethod(),
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     {
194 194
         $segment = str_replace(['~0', '~1'], ['~', '/'], array_shift($segments));
195 195
         if (property_exists($context, $segment)) {
196
-            $pointer .= '/' . $segment;
196
+            $pointer .= '/'.$segment;
197 197
             if (!count($segments)) {
198 198
                 return $pointer;
199 199
             }
Please login to merge, or discard this patch.
src/Tests/Request/RequestCoercerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         $this->contentDecoderMock
34 34
             ->expects($this->any())
35 35
             ->method('decodeContent')
36
-            ->willReturnCallback(function (Request $request) {
36
+            ->willReturnCallback(function(Request $request) {
37 37
                 return json_decode($request->getContent());
38 38
             });
39 39
     }
Please login to merge, or discard this patch.
src/Tests/Document/YamlParserTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function canParseNumericMap()
26 26
     {
27
-        $yaml   = <<<YAML
27
+        $yaml = <<<YAML
28 28
 map:
29 29
   1: one
30 30
   2: two
Please login to merge, or discard this patch.
src/Tests/Response/VndValidationErrorFactoryTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
             ->getMockBuilder('KleijnWeb\SwaggerBundle\Document\ParameterRefBuilder')
36 36
             ->disableOriginalConstructor()
37 37
             ->getMock();
38
-        $this->factory    = new VndValidationErrorFactory($this->refBuilder);
38
+        $this->factory = new VndValidationErrorFactory($this->refBuilder);
39 39
     }
40 40
 
41 41
     /**
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     public function resultIncludesErrorMessagesCreatedByJsonSchema()
72 72
     {
73
-        $value     = (object)[
73
+        $value = (object)[
74 74
             'foo' => (object)[
75 75
                 'blah' => 'one'
76 76
             ],
Please login to merge, or discard this patch.
src/Tests/Response/ResponseFactorySymfonySerializerCompatibilityTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
@@ -44,7 +44,7 @@  discard block
 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/EventListener/VndErrorExceptionListenerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
@@ -220,7 +220,7 @@  discard block
 block discarded – undo
220 220
             $logger
221 221
                 ->expects($this->once())
222 222
                 ->method('log')
223
-                ->with($this->anything(), $this->callback(function ($message) use (&$logref) {
223
+                ->with($this->anything(), $this->callback(function($message) use (&$logref) {
224 224
                     $matches = [];
225 225
                     if (preg_match('/logref ([a-z0-9]*)/', $message, $matches)) {
226 226
                         $logref = $matches[1];
Please login to merge, or discard this patch.
src/Tests/Functional/PetStore/app/autoload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 
3 3
 use Doctrine\Common\Annotations\AnnotationRegistry;
4 4
 use Composer\Autoload\ClassLoader;
@@ -6,7 +6,7 @@  discard block
 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([$loader, 'loadClass']);
12 12
 
Please login to merge, or discard this patch.
src/Tests/Functional/BasicPetStoreApiTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /*
3 3
  * This file is part of the KleijnWeb\SwaggerBundle package.
4 4
  *
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
     public static function setUpBeforeClass()
29 29
     {
30
-        static::initSchemaManager(__DIR__ . '/PetStore/app/swagger/petstore.yml');
30
+        static::initSchemaManager(__DIR__.'/PetStore/app/swagger/petstore.yml');
31 31
     }
32 32
 
33 33
     /**
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
     {
64 64
         $id = rand();
65 65
 
66
-        $responseData = $this->get('/v2/pet/' . $id);
66
+        $responseData = $this->get('/v2/pet/'.$id);
67 67
 
68 68
         $this->assertSame($id, $responseData->id);
69 69
     }
Please login to merge, or discard this patch.