Passed
Pull Request — master (#39)
by Sergey
02:47
created
src/LTDBeget/sphinx/enums/options/eSearchdOption.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * automatically generated from sphinx documentation
4
- */
3
+     * automatically generated from sphinx documentation
4
+     */
5 5
 
6 6
 namespace LTDBeget\sphinx\enums\options;
7 7
 
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
@@ -97,13 +97,13 @@
 block discarded – undo
97 97
                     /**
98 98
                      * @var Option $multiOption
99 99
                      */
100
-                    if(! $multiOption->isDeleted()) {
100
+                    if (!$multiOption->isDeleted()) {
101 101
                         yield $multiOption;
102 102
                     }
103 103
 
104 104
                 }
105 105
             } else {
106
-                if(! $option->isDeleted()) {
106
+                if (!$option->isDeleted()) {
107 107
                     yield $option;
108 108
                 }
109 109
             }
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/informer/exceptions/InformerRuntimeException.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: 1:46 PM
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date: 3/17/16
5
+     * @time: 1:46 PM
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\informer\exceptions;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/informer/Informer.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
      */
48 48
     public function getOptionInfo(eSection $section, eOption $optionName) : OptionInfo
49 49
     {
50
-        if (! $this->isSectionExist($section)) {
50
+        if (!$this->isSectionExist($section)) {
51 51
             throw new InformerRuntimeException("Sphinx of version {$this->version} does't have section {$section}");
52 52
         }
53 53
 
54
-        if (! $this->isKnownOption($section, $optionName)) {
54
+        if (!$this->isKnownOption($section, $optionName)) {
55 55
             throw new InformerRuntimeException("For sphinx v. {$this->version} option {$optionName} in {$section} isn't available");
56 56
         }
57 57
         
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function iterateOptionInfo(eSection $section)
96 96
     {
97
-        if (! $this->isSectionExist($section)) {
97
+        if (!$this->isSectionExist($section)) {
98 98
             throw new InformerRuntimeException("Sphinx of version {$this->version} does't have section {$section}");
99 99
         }
100 100
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     private function getOptionName(eSection $section, string $optionName) : eOption
116 116
     {
117
-        $enumClassName = "LTDBeget\\sphinx\\enums\\options\\e".ucfirst( (string) $section). 'Option';
117
+        $enumClassName = "LTDBeget\\sphinx\\enums\\options\\e" . ucfirst((string) $section) . 'Option';
118 118
         /**
119 119
          * @var eOption $enumClassName
120 120
          */
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/exceptions/SectionException.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: 22.03.16
5
- * @time: 0:47
6
- */
3
+     * @author: Viskov Sergey
4
+     * @date: 22.03.16
5
+     * @time: 0:47
6
+     */
7 7
 
8 8
 namespace LTDBeget\sphinx\configurator\exceptions;
9 9
 
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/configurator/deserializers/ArrayDeserializer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -160,9 +160,9 @@
 block discarded – undo
160 160
         $informer = $section->getConfiguration()->getInformer();
161 161
         $optionName = $this->getOptionName($section, $optionName);
162 162
 
163
-        if($informer->isKnownOption($sectionType, $optionName)) {
163
+        if ($informer->isKnownOption($sectionType, $optionName)) {
164 164
             $section->addOption($optionName, $optionValue);
165
-        } elseif($informer->isRemovedOption($sectionType, $optionName)) {
165
+        } elseif ($informer->isRemovedOption($sectionType, $optionName)) {
166 166
             return;
167 167
         } else {
168 168
             throw new DeserializeException("Unknown option name {$optionName} in section {$section->getType()}");
Please login to merge, or discard this patch.