Completed
Push — master ( 299dbc...1817c8 )
by Milos
02:12
created
src/Ast/Tokens.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     private static $_compareBinaryOperators = [self::T_EQ, self::T_NE, self::T_CO, self::T_SW, self::T_EW, self::T_GT, self::T_LT, self::T_GE, self::T_LE];
48 48
 
49 49
     /**
50
-     * @return array
50
+     * @return string[]
51 51
      */
52 52
     public static function compareValues()
53 53
     {
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     }
56 56
 
57 57
     /**
58
-     * @return array
58
+     * @return string[]
59 59
      */
60 60
     public static function compareOperators()
61 61
     {
Please login to merge, or discard this patch.
autoload.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // if library is in dev environement with its own vendor, include its autoload
4
-if(file_exists(__DIR__ . '/vendor'))
4
+if (file_exists(__DIR__ . '/vendor'))
5 5
     require_once __DIR__ . '/vendor/autoload.php';
6 6
 // if library is in vendor of another project, include the global autolaod
7 7
 else
Please login to merge, or discard this patch.
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,8 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // if library is in dev environement with its own vendor, include its autoload
4
-if(file_exists(__DIR__ . '/vendor'))
4
+if(file_exists(__DIR__ . '/vendor')) {
5 5
     require_once __DIR__ . '/vendor/autoload.php';
6
+}
6 7
 // if library is in vendor of another project, include the global autolaod
7
-else
8
+else {
8 9
     require_once __DIR__ . '/../../autoload.php';
10
+}
Please login to merge, or discard this patch.
src/Error/FilterException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      */
22 22
     public static function syntaxError($message, $previous = null)
23 23
     {
24
-        return new static('[Syntax Error] '.$message, 0, $previous);
24
+        return new static('[Syntax Error] ' . $message, 0, $previous);
25 25
     }
26 26
 
27 27
     /**
Please login to merge, or discard this patch.
src/Parser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
             // Use gmmktime because the timestamp will always be given in UTC.
243 243
             $ts = gmmktime($hour, $minute, $second, $month, $day, $year);
244 244
 
245
-            $value = new \DateTime('@'.$ts, new \DateTimeZone('UTC'));
245
+            $value = new \DateTime('@' . $ts, new \DateTimeZone('UTC'));
246 246
             //$value->setTimestamp($ts);
247 247
         }
248 248
 
Please login to merge, or discard this patch.