Completed
Push — master ( 689068...a3249f )
by Dawid
09:38
created
src/Utils/ArrayUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\Utils;
6 6
 
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      *
12 12
      * @return array
13 13
      */
14
-    public static function flatArrayRecursive(?array $array): array
14
+    public static function flatArrayRecursive(? array $array) : array
15 15
     {
16 16
         if (empty($array)) {
17 17
             return [];
Please login to merge, or discard this patch.
src/Event/ApiVersion/Events.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\Event\ApiVersion;
6 6
 
Please login to merge, or discard this patch.
src/ApiFeature/Definition.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\ApiFeature;
6 6
 
Please login to merge, or discard this patch.
src/Service/ApiVersionFeaturesProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\Service;
6 6
 
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      *
36 36
      * @throws \InvalidArgumentException When feature with given name already exists
37 37
      */
38
-    public function addFeature(string $name, ?string $since, ?string $until): void
38
+    public function addFeature(string $name, ?string $since, ?string $until) : void
39 39
     {
40 40
         $this->assertVersionCompatibleString($since);
41 41
         $this->assertVersionCompatibleString($until);
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      *
130 130
      * @throws \InvalidArgumentException When $string is not version compatible
131 131
      */
132
-    protected function assertVersionCompatibleString(?string $string): void
132
+    protected function assertVersionCompatibleString(?string $string) : void
133 133
     {
134 134
         if (null === $string || is_numeric($string)) {
135 135
             return;
Please login to merge, or discard this patch.
src/EventListener/XmlCheckSchemaSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\EventListener;
6 6
 
Please login to merge, or discard this patch.
src/Service/SchemaValidator/XmlSchemaValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\Service\SchemaValidator;
6 6
 
Please login to merge, or discard this patch.
src/Service/SchemaValidator/ValidationViolation.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\Service\SchemaValidator;
6 6
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      *
41 41
      * @return ValidationViolation
42 42
      */
43
-    public static function create(string $message, ?string $property = null): self
43
+    public static function create(string $message, ?string $property = null) : self
44 44
     {
45 45
         return new static($message, $property);
46 46
     }
Please login to merge, or discard this patch.
src/EventListener/AbstractCheckSchemaSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\EventListener;
6 6
 
Please login to merge, or discard this patch.
src/Service/SchemaValidator/JsonSchemaValidator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace Spiechu\SymfonyCommonsBundle\Service\SchemaValidator;
6 6
 
Please login to merge, or discard this patch.