Passed
Pull Request — master (#44)
by
unknown
02:03
created
src/LTDBeget/sphinx/configurator/ConfigurationFactory.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 LTDBeget\sphinx\configurator;
6 6
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/ConfigurationHelper.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 LTDBeget\sphinx\configurator;
6 6
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/serializers/PlainSerializer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
     private function serializeIndexer()
95 95
     {
96 96
         if ($this->object->hasIndexer()) {
97
-            $this->string .= (string)ConfigurationHelper::getOrCreateIndexer($this->object);
97
+            $this->string .= (string) ConfigurationHelper::getOrCreateIndexer($this->object);
98 98
         }
99 99
     }
100 100
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
     private function serializeSearchd()
105 105
     {
106 106
         if ($this->object->hasSearchd()) {
107
-            $this->string .= (string)ConfigurationHelper::getOrCreateSearchd($this->object);
107
+            $this->string .= (string) ConfigurationHelper::getOrCreateSearchd($this->object);
108 108
         }
109 109
     }
110 110
 
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
     private function serializeCommon()
116 116
     {
117 117
         if ($this->object->hasCommon()) {
118
-            $this->string .= (string)ConfigurationHelper::getOrCreateCommon($this->object);
118
+            $this->string .= (string) ConfigurationHelper::getOrCreateCommon($this->object);
119 119
         }
120 120
     }
121 121
 }
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/configurationEntities/sections/Index.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -43,17 +43,17 @@
 block discarded – undo
43 43
 
44 44
         do {
45 45
             foreach ($index->iterateOptions() as $option) {
46
-                if(eIndexOption::SOURCE()->is($option->getName()) ) {
46
+                if (eIndexOption::SOURCE()->is($option->getName())) {
47 47
                     $source_name = $option->getValue();
48 48
                 }
49 49
             }
50
-            if($index->isHasInheritance()) {
50
+            if ($index->isHasInheritance()) {
51 51
                 $index = $index->getInheritance();
52 52
             }
53
-        } while($index->isHasInheritance());
53
+        } while ($index->isHasInheritance());
54 54
 
55 55
         foreach ($this->getConfiguration()->iterateSources() as $source) {
56
-            if($source->getName() === $source_name) {
56
+            if ($source->getName() === $source_name) {
57 57
                 return $source;
58 58
             }
59 59
         }
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/ConfigurationSerializer.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 LTDBeget\sphinx\configurator;
6 6
 
Please login to merge, or discard this patch.