Passed
Push — master ( 1e90ce...e40881 )
by Dawid
02:24
created
Category
src/Annotation/SecurityScheme/OAuth2.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
 
20 20
     public function __construct()
21 21
     {
22
-        $this->type = 'oauth2';
22
+        $this->type='oauth2';
23 23
     }
24 24
 
25 25
     protected function getRequiredParameters() : array
26 26
     {
27
-        return ['flows'];
27
+        return [ 'flows' ];
28 28
     }
29 29
 }
Please login to merge, or discard this patch.
src/Annotation/SecurityScheme/Http.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
 
28 28
     public function __construct()
29 29
     {
30
-        $this->type = 'http';
30
+        $this->type='http';
31 31
     }
32 32
 
33 33
     protected function getRequiredParameters() : array
34 34
     {
35
-        return ['scheme'];
35
+        return [ 'scheme' ];
36 36
     }
37 37
 }
Please login to merge, or discard this patch.
src/Annotation/SecurityScheme/OAuthFlows.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,6 +31,6 @@
 block discarded – undo
31 31
 
32 32
     protected function getRequiredParameters(): array
33 33
     {
34
-        return [];
34
+        return [ ];
35 35
     }
36 36
 }
Please login to merge, or discard this patch.
src/Annotation/DataType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      * @Enum("integer", "number", "string", "boolean", "object")
13 13
      * @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#data-types
14 14
      */
15
-    public $type = 'string';
15
+    public $type='string';
16 16
 
17 17
     /**
18 18
      * Primitive types can have optional modifier property `format` which can be any value. The following values are
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      * Specifies that a parameter is deprecated and SHOULD be transitioned out of usage.
46 46
      * @var bool
47 47
      */
48
-    public $deprecated = false;
48
+    public $deprecated=false;
49 49
 
50 50
     /**
51 51
      * Determines whether property can contain null value.
Please login to merge, or discard this patch.
src/Annotation/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,5 +30,5 @@
 block discarded – undo
30 30
     /**
31 31
      * @var \FatCode\OpenApi\Annotation\Link[]|\FatCode\OpenApi\Annotation\Reference[]
32 32
      */
33
-    public $links = [];
33
+    public $links=[ ];
34 34
 }
Please login to merge, or discard this patch.
src/Annotation/Property.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,5 +31,5 @@
 block discarded – undo
31 31
      * and its value MUST be true. Otherwise, the property MAY be included and its default value is false.
32 32
      * @var bool
33 33
      */
34
-    public $required = true;
34
+    public $required=true;
35 35
 }
Please login to merge, or discard this patch.
src/Annotation/Info/License.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,6 @@
 block discarded – undo
25 25
 
26 26
     protected function getRequiredParameters(): array
27 27
     {
28
-        return ['name'];
28
+        return [ 'name' ];
29 29
     }
30 30
 }
Please login to merge, or discard this patch.
src/Annotation/Schema.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      * List of required properties in the schema
27 27
      * @var string[]
28 28
      */
29
-    public $required = [];
29
+    public $required=[ ];
30 30
 
31 31
     /**
32 32
      * @var Property[]
Please login to merge, or discard this patch.
src/Annotation/Server.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      *
22 22
      * @var string
23 23
      */
24
-    public $url = 'http://{host}:{port}/';
24
+    public $url='http://{host}:{port}/';
25 25
 
26 26
     /**
27 27
      * An optional string describing the host designated by the URL.
Please login to merge, or discard this patch.