Completed
Push — master ( 131c91...75b368 )
by Kévin
03:30
created
src/Operation/Factory/SubresourceOperationFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Operation\Factory;
15 15
 
Please login to merge, or discard this patch.
src/Operation/Factory/CachedSubresourceOperationFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Operation\Factory;
15 15
 
Please login to merge, or discard this patch.
src/Operation/Factory/SubresourceOperationFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Operation\Factory;
15 15
 
Please login to merge, or discard this patch.
src/Operation/DashPathSegmentNameGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Operation;
15 15
 
Please login to merge, or discard this patch.
src/Operation/PathSegmentNameGeneratorInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Operation;
15 15
 
Please login to merge, or discard this patch.
src/Operation/UnderscorePathSegmentNameGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Operation;
15 15
 
Please login to merge, or discard this patch.
src/Bridge/Symfony/Bundle/DependencyInjection/Configuration.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
  * file that was distributed with this source code.
10 10
  */
11 11
 
12
-declare(strict_types=1);
12
+declare(strict_types = 1);
13 13
 
14 14
 namespace ApiPlatform\Core\Bridge\Symfony\Bundle\DependencyInjection;
15 15
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
                 ->scalarNode('description')->defaultValue('')->info('The description of the API.')->end()
45 45
                 ->scalarNode('version')->defaultValue('0.0.0')->info('The version of the API.')->end()
46 46
                 ->scalarNode('default_operation_path_resolver')
47
-                    ->beforeNormalization()->always(function ($v) {
47
+                    ->beforeNormalization()->always(function($v) {
48 48
                         if (isset($v['default_operation_path_resolver'])) {
49 49
                             @trigger_error('The use of the `default_operation_path_resolver` has been deprecated in 2.1 and will be removed in 3.0. Use `path_segment_name_generator` instead.', E_USER_DEPRECATED);
50 50
                         }
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
                     ->useAttributeAsKey('exception_class')
187 187
                     ->beforeNormalization()
188 188
                         ->ifArray()
189
-                        ->then(function (array $exceptionToStatus) {
189
+                        ->then(function(array $exceptionToStatus) {
190 190
                             foreach ($exceptionToStatus as &$httpStatusCode) {
191 191
                                 if (is_int($httpStatusCode)) {
192 192
                                     continue;
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
                     ->prototype('integer')->end()
204 204
                     ->validate()
205 205
                         ->ifArray()
206
-                        ->then(function (array $exceptionToStatus) {
206
+                        ->then(function(array $exceptionToStatus) {
207 207
                             foreach ($exceptionToStatus as $httpStatusCode) {
208 208
                                 if ($httpStatusCode < 100 || $httpStatusCode >= 600) {
209 209
                                     throw new InvalidConfigurationException(sprintf('The HTTP status code "%s" is not valid.', $httpStatusCode));
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
                     ->useAttributeAsKey('format')
236 236
                     ->beforeNormalization()
237 237
                         ->ifArray()
238
-                        ->then(function ($v) {
238
+                        ->then(function($v) {
239 239
                             foreach ($v as $format => $value) {
240 240
                                 if (isset($value['mime_types'])) {
241 241
                                     continue;
Please login to merge, or discard this patch.