Passed
Push — dev ( a54c1d...e34062 )
by Fike
02:05
created
tests/Suite/Functional/Mapping/NormalizerTest.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 AmaTeam\ElasticSearch\Test\Suite\Functional\Mapping;
6 6
 
Please login to merge, or discard this patch.
tests/Suite/Unit/Utility/StringsTest.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 AmaTeam\ElasticSearch\Test\Suite\Unit\Utility;
6 6
 
Please login to merge, or discard this patch.
src/Utility/Strings.php 1 patch
Spacing   +4 added lines, -4 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 AmaTeam\ElasticSearch\Utility;
6 6
 
@@ -8,7 +8,7 @@  discard block
 block discarded – undo
8 8
 {
9 9
     public static function snakeToCamel(string $input): string
10 10
     {
11
-        $callback = function ($match) {
11
+        $callback = function($match) {
12 12
             return mb_strtoupper(mb_substr($match[0], mb_strlen($match[0]) - 1));
13 13
         };
14 14
         return preg_replace_callback('~_+\w~u', $callback, trim($input, '_'));
@@ -16,8 +16,8 @@  discard block
 block discarded – undo
16 16
 
17 17
     public static function camelToSnake(string $input): string
18 18
     {
19
-        $callback = function ($match) {
20
-            return '_' . $match[0];
19
+        $callback = function($match) {
20
+            return '_'.$match[0];
21 21
         };
22 22
         return mb_strtolower(preg_replace_callback('~(?!^)\p{Lu}+~u', $callback, $input));
23 23
     }
Please login to merge, or discard this patch.
src/Mapping/Type/BooleanType.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 AmaTeam\ElasticSearch\Mapping\Type;
6 6
 
Please login to merge, or discard this patch.
src/API/ClientFactoryInterface.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 AmaTeam\ElasticSearch\API;
6 6
 
Please login to merge, or discard this patch.
src/API/Annotation/Document.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 AmaTeam\ElasticSearch\API\Annotation;
6 6
 
Please login to merge, or discard this patch.
src/API/Annotation/Mapping/Type.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 AmaTeam\ElasticSearch\API\Annotation\Mapping;
6 6
 
Please login to merge, or discard this patch.
src/Mapping/Type/ObjectType.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 AmaTeam\ElasticSearch\Mapping\Type;
6 6
 
Please login to merge, or discard this patch.
src/Mapping/Type/PercolatorType.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 AmaTeam\ElasticSearch\Mapping\Type;
6 6
 
Please login to merge, or discard this patch.