Passed
Push — master ( ae59e9...ed1478 )
by Sergey
03:17
created
src/LTDBeget/sphinx/enums/eSection.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 3/17/16
5
- * @time  : 2:41 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 3/17/16
5
+     * @time  : 2:41 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\enums;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/enums/base/Enum.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 17/03/16
5
- * @time  : 22:40
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 17/03/16
5
+     * @time  : 22:40
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\enums\base;
9 9
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,6 +19,6 @@
 block discarded – undo
19 19
      */
20 20
     public function __toString() : string
21 21
     {
22
-        return (string)$this->getValue();
22
+        return (string) $this->getValue();
23 23
     }
24 24
 }
25 25
\ No newline at end of file
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/enums/base/eOption.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 3/17/16
5
- * @time  : 2:46 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 3/17/16
5
+     * @time  : 2:46 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\enums\base;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/serializers/ArraySerializer.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 3/14/16
5
- * @time  : 12:54 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 3/14/16
5
+     * @time  : 12:54 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\configurator\serializers;
9 9
 
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -141,8 +141,8 @@  discard block
 block discarded – undo
141 141
     private function serializeDefinition(Definition $definition)
142 142
     {
143 143
         $this->arrayConfiguration[] = [
144
-            'type'        => (string)$definition->getType(),
145
-            'name'        => (string)$definition->getName(),
144
+            'type'        => (string) $definition->getType(),
145
+            'name'        => (string) $definition->getName(),
146 146
             'inheritance' => $definition->isHasInheritance() ? $definition->getInheritance()->getName() : NULL,
147 147
             'options'     => $this->serializeOptions($definition)
148 148
         ];
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     private function serializeSettings(Settings $settings)
160 160
     {
161 161
         $this->arrayConfiguration[] = [
162
-            'type'    => (string)$settings->getType(),
162
+            'type'    => (string) $settings->getType(),
163 163
             'options' => $this->serializeOptions($settings)
164 164
         ];
165 165
     }
@@ -177,7 +177,7 @@  discard block
 block discarded – undo
177 177
 
178 178
         foreach ($section->iterateOptions() as $option) {
179 179
             $options[] = [
180
-                'name'  => (string)$option->getName(),
180
+                'name'  => (string) $option->getName(),
181 181
                 'value' => $option->getValue()
182 182
             ];
183 183
         }
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/serializers/JsonSerializer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 3/14/16
5
- * @time  : 6:36 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 3/14/16
5
+     * @time  : 6:36 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\configurator\serializers;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/serializers/PlainSerializer.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 3/3/16
5
- * @time  : 5:13 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 3/3/16
5
+     * @time  : 5:13 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\configurator\serializers;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/configurationEntities/Option.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 3/2/16
5
- * @time  : 8:04 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 3/2/16
5
+     * @time  : 8:04 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\configurator\configurationEntities;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/configurationEntities/base/Settings.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @author: Viskov Sergey
4
- * @date  : 20.03.16
5
- * @time  : 1:53
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date  : 20.03.16
5
+     * @time  : 1:53
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\configurator\configurationEntities\base;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/configurationEntities/base/Section.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     public function __toString() : string
89 89
     {
90 90
         try {
91
-            $string = (string)$this->getType();
91
+            $string = (string) $this->getType();
92 92
         } catch (\Exception $e) {
93 93
             $string = '';
94 94
         }
@@ -149,7 +149,7 @@  discard block
 block discarded – undo
149 149
     final protected function addOptionInternal(eOption $name, string $value) : Option
150 150
     {
151 151
         $option      = $this->createOption($name, $value);
152
-        $option_name = (string)$option->getName();
152
+        $option_name = (string) $option->getName();
153 153
 
154 154
         if ($option->isMultiValue()) {
155 155
             $this->options[$option_name] = $this->options[$option_name] ?? [];
Please login to merge, or discard this patch.