Completed
Push — master ( f0fa18...b24fdb )
by John
20:29
created
src/Document/YamlParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 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
  *
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/Document/ParameterRefBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 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
  *
Please login to merge, or discard this patch.
src/Document/Exception/ResourceNotReadableException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 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
  *
Please login to merge, or discard this patch.
src/Document/Exception/InvalidReferenceException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 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
  *
Please login to merge, or discard this patch.
src/Document/Exception/ResourceNotDecodableException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 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
  *
Please login to merge, or discard this patch.
src/Document/DocumentRepository.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 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
  *
Please login to merge, or discard this patch.
src/KleijnWebSwaggerBundle.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 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
  *
Please login to merge, or discard this patch.
src/Tests/Test/ApiRequestTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 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
  *
Please login to merge, or discard this patch.