Test Setup Failed
Push — master ( c04e52...4752c9 )
by
unknown
06:08
created
src/LTDBeget/sphinx/SyntaxErrorException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function __construct(StringStream $stream, int $code = 0, Exception $previous = null)
27 27
     {
28
-        if($stream->isEnd()) {
28
+        if ($stream->isEnd()) {
29 29
             $stream->end();
30 30
         }
31 31
 
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         do {
84 84
             $string .= $stream->current();
85 85
             $stream->next();
86
-        } while (! $stream->isEnd());
86
+        } while (!$stream->isEnd());
87 87
         
88 88
         return $string;
89 89
     }
Please login to merge, or discard this patch.
src/LTDBeget/sphinx/Tokenizer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $tokens = [];
34 34
 
35
-        if(! empty($plainData)) {
35
+        if (!empty($plainData)) {
36 36
             $tokens = (new self($plainData))->tokenizeInternal()->tokens;
37 37
         }
38 38
 
@@ -219,7 +219,7 @@  discard block
 block discarded – undo
219 219
             start:
220 220
             $this->stream->ignoreWhitespace();
221 221
 
222
-            if($this->stream->isEnd()) {
222
+            if ($this->stream->isEnd()) {
223 223
                 throw new SyntaxErrorException($this->stream);
224 224
             }
225 225
 
@@ -290,7 +290,7 @@  discard block
 block discarded – undo
290 290
         start:
291 291
         $char = $this->stream->currentAscii();
292 292
         
293
-        if($this->stream->isEnd()) {
293
+        if ($this->stream->isEnd()) {
294 294
             throw new SyntaxErrorException($this->stream);
295 295
         }
296 296
 
Please login to merge, or discard this patch.