Completed
Push — master ( 34732e...6894ab )
by John
07:41
created
src/Description/Document/Parser/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\PhpApi\Descriptions package.
4 4
  *
Please login to merge, or discard this patch.
src/Description/Builder/OpenApiBuilder.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\PhpApi\Descriptions package.
4 4
  *
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
         /** @var ObjectSchema[] $typeDefinitions */
48 48
         $typeDefinitions = [];
49 49
 
50
-        $description->accept(new ClosureVisitor($this, function ($schema) use (&$typeDefinitions) {
50
+        $description->accept(new ClosureVisitor($this, function($schema) use (&$typeDefinitions) {
51 51
             if ($schema instanceof ObjectSchema) {
52 52
                 if ($schema->isType(Schema::TYPE_OBJECT) && isset($schema->getDefinition()->{'x-ref-id'})) {
53 53
                     $typeName = substr(
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
             $complexTypes[] = $type;
67 67
         }
68 68
 
69
-        $description->accept(new ClosureVisitor($description, function () use (&$complexTypes) {
69
+        $description->accept(new ClosureVisitor($description, function() use (&$complexTypes) {
70 70
             /** @noinspection PhpUndefinedFieldInspection */
71 71
             $this->complexTypes = $complexTypes;
72 72
         }));
Please login to merge, or discard this patch.
src/Description/Builder/Builder.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\PhpApi\Descriptions package.
4 4
  *
Please login to merge, or discard this patch.
src/Description/Builder/RamlBuilder.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\PhpApi\Descriptions package.
4 4
  *
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $paths   = [];
31 31
 
32 32
         /** @noinspection PhpUnusedParameterInspection */
33
-        $this->document->apply(function ($definition, $attributeName, $parent, $parentAttributeName) use (&$paths) {
33
+        $this->document->apply(function($definition, $attributeName, $parent, $parentAttributeName) use (&$paths) {
34 34
             if (substr((string)$attributeName, 0, 1) === '/') {
35 35
                 $pathName         = "{$parentAttributeName}{$attributeName}";
36 36
                 $paths[$pathName] = $this->createPath($pathName, $definition);
Please login to merge, or discard this patch.
src/Description/DescriptionFactory.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\PhpApi\Descriptions package.
4 4
  *
Please login to merge, or discard this patch.
src/Description/Response.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\PhpApi\Descriptions package.
4 4
  *
Please login to merge, or discard this patch.
src/Description/Path.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\PhpApi\Descriptions package.
4 4
  *
Please login to merge, or discard this patch.
src/Description/Repository.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\PhpApi\Descriptions package.
4 4
  *
Please login to merge, or discard this patch.
src/Description/ComplexType.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\PhpApi\Descriptions package.
4 4
  *
Please login to merge, or discard this patch.