Passed
Push — master ( e2457a...cbf511 )
by
unknown
02:41 queued 14s
created
src/Granularities/AbstractGranularity.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
      * @param bool               $rollup
22 22
      * @param IntervalCollection $intervals
23 23
      */
24
-    public function __construct(string|Granularity $queryGranularity, bool $rollup, IntervalCollection $intervals)
24
+    public function __construct(string | Granularity $queryGranularity, bool $rollup, IntervalCollection $intervals)
25 25
     {
26 26
         $this->queryGranularity = is_string($queryGranularity) ? Granularity::from(strtolower($queryGranularity)) : $queryGranularity;
27 27
         $this->rollup           = $rollup;
Please login to merge, or discard this patch.
src/Filters/SearchFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     /**
22 22
      * @var string|string[]
23 23
      */
24
-    protected string|array $value;
24
+    protected string | array $value;
25 25
 
26 26
     protected bool $caseSensitive;
27 27
 
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function __construct(
40 40
         string $dimension,
41
-        array|string $valueOrValues,
41
+        array | string $valueOrValues,
42 42
         bool $caseSensitive = false,
43 43
         ?ExtractionInterface $extractionFunction = null
44 44
     ) {
Please login to merge, or discard this patch.
src/Filters/BoundFilter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,12 +41,12 @@
 block discarded – undo
41 41
      */
42 42
     public function __construct(
43 43
         string $dimension,
44
-        string|BoundOperator $operator,
44
+        string | BoundOperator $operator,
45 45
         string $value,
46
-        string|SortingOrder $ordering = null,
46
+        string | SortingOrder $ordering = null,
47 47
         ?ExtractionInterface $extractionFunction = null
48 48
     ) {
49
-        if(is_string($ordering)) {
49
+        if (is_string($ordering)) {
50 50
             $ordering = SortingOrder::from(strtolower($ordering));
51 51
         }
52 52
 
Please login to merge, or discard this patch.
src/Filters/BetweenFilter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,9 +43,9 @@
 block discarded – undo
43 43
      */
44 44
     public function __construct(
45 45
         string $dimension,
46
-        int|string $minValue,
47
-        int|string $maxValue,
48
-        string|SortingOrder $ordering = null,
46
+        int | string $minValue,
47
+        int | string $maxValue,
48
+        string | SortingOrder $ordering = null,
49 49
         ?ExtractionInterface $extractionFunction = null
50 50
     ) {
51 51
         if (is_string($ordering)) {
Please login to merge, or discard this patch.
src/InputFormats/FlattenSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      *
37 37
      * @return $this
38 38
      */
39
-    public function field(string|FlattenFieldType $flattenFieldType, string $name, string $expr = null): self
39
+    public function field(string | FlattenFieldType $flattenFieldType, string $name, string $expr = null): self
40 40
     {
41 41
         $type = is_string($flattenFieldType) ? FlattenFieldType::from(strtolower($flattenFieldType)) : $flattenFieldType;
42 42
 
Please login to merge, or discard this patch.
src/InputSources/HdfsInputSource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
      *
12 12
      * @var string[]|string
13 13
      */
14
-    protected string|array $paths;
14
+    protected string | array $paths;
15 15
 
16 16
     /**
17 17
      * HdfsInputSource constructor.
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
      *                               like * are supported in these paths. Empty files located under one of the given paths
21 21
      *                               will be skipped.
22 22
      */
23
-    public function __construct(array|string $paths)
23
+    public function __construct(array | string $paths)
24 24
     {
25 25
         $this->paths = $paths;
26 26
     }
Please login to merge, or discard this patch.
src/InputSources/HttpInputSource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * @var null|string|string[]
17 17
      */
18
-    protected string|array|null $password;
18
+    protected string | array | null $password;
19 19
 
20 20
     /**
21 21
      * HttpInputSource constructor.
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * @param string|null          $username
25 25
      * @param string|string[]|null $password
26 26
      */
27
-    public function __construct(array $uris, ?string $username = null, array|string $password = null)
27
+    public function __construct(array $uris, ?string $username = null, array | string $password = null)
28 28
     {
29 29
         $this->uris     = $uris;
30 30
         $this->username = $username;
Please login to merge, or discard this patch.
src/Concerns/HasVirtualColumns.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * @return $this
35 35
      * @see https://druid.apache.org/docs/latest/misc/math-expr.html
36 36
      */
37
-    public function virtualColumn(string $expression, string $as, string|DataType $outputType = DataType::STRING): self
37
+    public function virtualColumn(string $expression, string $as, string | DataType $outputType = DataType::STRING): self
38 38
     {
39 39
         $this->virtualColumns[] = new VirtualColumn($expression, $as, $outputType);
40 40
 
Please login to merge, or discard this patch.
src/Concerns/HasTuningConfig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
      *
20 20
      * @return $this
21 21
      */
22
-    public function tuningConfig(array|TuningConfig $tuningConfig): self
22
+    public function tuningConfig(array | TuningConfig $tuningConfig): self
23 23
     {
24 24
         if (!$tuningConfig instanceof TuningConfig) {
25 25
             $tuningConfig = new TuningConfig($tuningConfig);
Please login to merge, or discard this patch.