Completed
Push — develop ( 323919...323bfc )
by Neomerx
15:34 queued 11:51
created
src/Api/BasicRelationshipPaginationStrategy.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
 namespace Limoncello\Flute\Api;
4 4
 
Please login to merge, or discard this patch.
src/Package/FluteSettings.php 1 patch
Spacing   +5 added lines, -5 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
 namespace Limoncello\Flute\Package;
4 4
 
@@ -104,10 +104,10 @@  discard block
 block discarded – undo
104 104
         );
105 105
         assert(empty($jsonQueryValFileMask) === false, "Invalid Query Validators file mask `$jsonQueryValFileMask`.");
106 106
 
107
-        $schemasPath         = $schemasFolder . DIRECTORY_SEPARATOR . $schemasFileMask;
108
-        $jsonDataValPath     = $jsonDataValFolder . DIRECTORY_SEPARATOR . $jsonDataValFileMask;
109
-        $formsValidatorsPath = $formsValFolder . DIRECTORY_SEPARATOR . $formsValFileMask;
110
-        $jsonQueryValPath    = $jsonQueryValFolder . DIRECTORY_SEPARATOR . $jsonQueryValFileMask;
107
+        $schemasPath         = $schemasFolder.DIRECTORY_SEPARATOR.$schemasFileMask;
108
+        $jsonDataValPath     = $jsonDataValFolder.DIRECTORY_SEPARATOR.$jsonDataValFileMask;
109
+        $formsValidatorsPath = $formsValFolder.DIRECTORY_SEPARATOR.$formsValFileMask;
110
+        $jsonQueryValPath    = $jsonQueryValFolder.DIRECTORY_SEPARATOR.$jsonQueryValFileMask;
111 111
 
112 112
         $requireUniqueTypes = $defaults[static::KEY_SCHEMAS_REQUIRE_UNIQUE_TYPES] ?? true;
113 113
 
Please login to merge, or discard this patch.
src/Package/FluteContainerConfigurator.php 1 patch
Spacing   +8 added lines, -8 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
 namespace Limoncello\Flute\Package;
4 4
 
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 
56 56
         $container[FactoryInterface::class] = $factory;
57 57
 
58
-        $container[JsonSchemasInterface::class] = function (PsrContainerInterface $container) use ($factory) {
58
+        $container[JsonSchemasInterface::class] = function(PsrContainerInterface $container) use ($factory) {
59 59
             $settings     = $container->get(SettingsProviderInterface::class)->get(FluteSettings::class);
60 60
             $modelSchemas = $container->get(ModelSchemaInfoInterface::class);
61 61
 
@@ -66,11 +66,11 @@  discard block
 block discarded – undo
66 66
             );
67 67
         };
68 68
 
69
-        $container[ParametersMapperInterface::class] = function (PsrContainerInterface $container) {
69
+        $container[ParametersMapperInterface::class] = function(PsrContainerInterface $container) {
70 70
             return new ParametersMapper($container->get(JsonSchemasInterface::class));
71 71
         };
72 72
 
73
-        $container[EncoderInterface::class] = function (PsrContainerInterface $container) use ($factory) {
73
+        $container[EncoderInterface::class] = function(PsrContainerInterface $container) use ($factory) {
74 74
             /** @var JsonSchemasInterface $jsonSchemas */
75 75
             $jsonSchemas = $container->get(JsonSchemasInterface::class);
76 76
             $settings    = $container->get(SettingsProviderInterface::class)->get(FluteSettings::class);
@@ -86,19 +86,19 @@  discard block
 block discarded – undo
86 86
             return $encoder;
87 87
         };
88 88
 
89
-        $container[RelationshipPaginationStrategyInterface::class] = function (PsrContainerInterface $container) {
89
+        $container[RelationshipPaginationStrategyInterface::class] = function(PsrContainerInterface $container) {
90 90
             $settings = $container->get(SettingsProviderInterface::class)->get(FluteSettings::class);
91 91
 
92 92
             return new BasicRelationshipPaginationStrategy($settings[FluteSettings::KEY_DEFAULT_PAGING_SIZE]);
93 93
         };
94 94
 
95
-        $container[JsonApiParserFactoryInterface::class] = function (PsrContainerInterface $container) {
95
+        $container[JsonApiParserFactoryInterface::class] = function(PsrContainerInterface $container) {
96 96
             $factory = new JsonApiParserFactory($container);
97 97
 
98 98
             return $factory;
99 99
         };
100 100
 
101
-        $container[FormValidatorFactoryInterface::class] = function (PsrContainerInterface $container) {
101
+        $container[FormValidatorFactoryInterface::class] = function(PsrContainerInterface $container) {
102 102
             $factory = new FormValidatorFactory($container);
103 103
 
104 104
             return $factory;
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public static function configureExceptionHandler(LimoncelloContainerInterface $container)
118 118
     {
119
-        $container[ThrowableHandlerInterface::class] = function (PsrContainerInterface $container) {
119
+        $container[ThrowableHandlerInterface::class] = function(PsrContainerInterface $container) {
120 120
             /** @var CacheSettingsProviderInterface $provider */
121 121
             $provider      = $container->get(CacheSettingsProviderInterface::class);
122 122
             $appConfig     = $provider->getApplicationConfiguration();
Please login to merge, or discard this patch.
src/Package/FluteProvider.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
 namespace Limoncello\Flute\Package;
4 4
 
Please login to merge, or discard this patch.
src/Exceptions/LogicException.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
 namespace Limoncello\Flute\Exceptions;
4 4
 
Please login to merge, or discard this patch.
src/Factory.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
 namespace Limoncello\Flute;
4 4
 
Please login to merge, or discard this patch.
src/Types/DateTimeType.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
 namespace Limoncello\Flute\Types;
4 4
 
Please login to merge, or discard this patch.
src/Encoder/Encoder.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
 namespace Limoncello\Flute\Encoder;
4 4
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
         parse_str($this->getOriginalUri()->getQuery(), $queryParams);
128 128
 
129
-        return function ($offset) use ($pageSize, $queryParams) {
129
+        return function($offset) use ($pageSize, $queryParams) {
130 130
             $paramsWithPaging = array_merge($queryParams, [
131 131
                 BaseQueryParserInterface::PARAM_PAGE => [
132 132
                     JsonApiQueryParserInterface::PARAM_PAGING_OFFSET => $offset,
@@ -134,7 +134,7 @@  discard block
 block discarded – undo
134 134
                 ],
135 135
             ]);
136 136
             $newUri  = $this->getOriginalUri()->withQuery(http_build_query($paramsWithPaging));
137
-            $fullUrl = (string)$newUri;
137
+            $fullUrl = (string) $newUri;
138 138
             $link    = $this->getFactory()->createLink(false, $fullUrl, false);
139 139
 
140 140
             return $link;
Please login to merge, or discard this patch.
src/Models/TagStorage.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
 namespace Limoncello\Flute\Models;
4 4
 
Please login to merge, or discard this patch.